I have happily used ARRAY SCAN for years with string arrays but the following single statement straight out of the manual refuses to compile with a "Relational Operator Expected" error.
Removing the "FOR 10," allows it to compile. I just cannot see what is wrong.
Can anyone put me out of my misery?
Regards,
Bern
------------------
Bern
www.insighttrading.com.au
Removing the "FOR 10," allows it to compile. I just cannot see what is wrong.
Code:
FUNCTION PBMAIN() AS LONG LOCAL A() AS LONG LOCAL I AS LONG DIM A&(10) ARRAY SCAN A&(), FOR 10, =1, TO i& END FUNCTION
Regards,
Bern
------------------
Bern
www.insighttrading.com.au
Comment