Skip to content

Using an array of string not possible? #7

@CPsoftBE

Description

@CPsoftBE

Hi,

Question, should it be possible to use the following:

const
MyStrings: array[0..2] of string = ('Apple', 'Banana', 'Orange');

I'm getting the following compile error:

Compiling..
Compile Error
Compiler Message: [Error] (2:12): is ('=') expected

Best regards,
Pascal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions