I have lost hour or two messing with elementary functionality of AGK.. why this is not working!! Example is from this forum and shorthand is documented in help file.. clearly shorthand is not working (1076 again)
dim array[10] as integer = [1,2,3,4,5,6,7,8,9,10]
do
for n = 0 to 9
print( str(array[n]) )
next n
sync()
loop
And next question, does index start from 0 or 1, as compiler or running program does not give error and again help file does not talk about that (yes, examples use 1 as a start but 0 works fine too..so if I dim abc[10], is index 0-9 or 1-10 or 0-10 which it cant be as I dim 10 items..)