Peter Gerwinski wrote:
Not too difficult: Integer arrays can be treated by a simple byte compare; for string arrays the compiler must generate a loop.
I thought that was a lot of work, but it seems I was wrong :-)
Certainly: see the examples in 6.8.4
Thanks a lot! I didn't find that. Why wasn't there a single word about this in 6.4.7, 6.4.8???
No idea. Just like a lot of other topics treatment is fairly sparse. We need to have everything in one place. Maybe I should write an Extended Pascal programmers book :-)
What about the following:
Default mode (and Extended Pascal mode): The length field cannot be accessed (except with "length ( MyStr )".)
With extended syntax (*$X+*): The length field can be read- and write-accessed.
I don't care, because I don't see the need for accessing the length field directory, as long as it is not available in Extended Pascal mode :-)
Groetjes,
Berend.