You may remember I posted a Zip archive with some list test code (list of structures) for which Kornalius made some corrections for 0.7a and 0.7b.
Those changes work fine ....
However I have a question with respect to the command:
goto (MyList$,index$);
The documentation infers that the range of index$ is 0 .. count(MyList$)-1. My tests would imply this is not true. The range is 1 .. count(MyList$).
goto (MyList$,0); appears to point at the element of the list last referenced from a foreach (MyList$)loop or from an add/insert (MyList$) statement.
True or False?
I have included the zip archive with added code loop to demonstrate what I am saying. Run the test as Test/Test #1 and don't forget to transfer the mylist ascii text file to the application directory (all as before)
regards
Those changes work fine ....
However I have a question with respect to the command:
goto (MyList$,index$);
The documentation infers that the range of index$ is 0 .. count(MyList$)-1. My tests would imply this is not true. The range is 1 .. count(MyList$).
goto (MyList$,0); appears to point at the element of the list last referenced from a foreach (MyList$)loop or from an add/insert (MyList$) statement.
True or False?
I have included the zip archive with added code loop to demonstrate what I am saying. Run the test as Test/Test #1 and don't forget to transfer the mylist ascii text file to the application directory (all as before)
regards
Attachments:
list_test.zip (7 KB)