Extended array definition
Posted: Wed May 11, 2016 10:54 pm
Suspect this already was proposed sometime by someone, but at least my thread will be another vote ^^
Would be cool to have some short form of predefining arrays (like variables).
I think something like this is nice:
Should be expanded as
Close to how "Data" keyword works, working with strings too; for multidimensional/structured arrays should not be applicable.
Would be cool to have some short form of predefining arrays (like variables).
I think something like this is nice:
Code: Select all
; predefined array in short form
Dim Dat.l (8) = 2,5,1,2,3,4,7,7,6
Code: Select all
Dim Dat.l (8)
Dat(0) = 2
Dat(1) = 5
Dat(2) = 1
Dat(3) = 2
Dat(n) ...
Dat(8) = 6
Close to how "Data" keyword works, working with strings too; for multidimensional/structured arrays should not be applicable.