String[X] as Object Property ?
I have a quick question.
Can I have a property of type string[5]. When I try to define one as:
property MyString: String[x] Read FString Write FString;
I get an error at the '[' saying "Read, Write or Index expected . .
.".
When I tried:
property MyString: String Read FString Write FString;
I got an error about incompatible types ShortString and String;
And
property MyString: ShortString Read FString Write FString
gave a simple error of incompatible types.
Using
property MyString: String Read FString Write SetFString
also gave me trouble.
Am I doing something wrong, or am I just barking up the wrong tree?
Thanks for any help.
--
Rob Tanner B.E., B.Sc.
Network Adminstrator/Programmer
Dasher Transportation Services, Inc.
2318 Northridge Dr.
Saskatoon, SK
S7L 1B9
Canada
Phone: (306) 665-3113
Fax : (306) 665-5857
email : rtan...@webster.sk.ca