Code: Select all
dim apple[10]
apple[1]=1
apple[2]=2
fred="Hello"
debugprint(apple[1])
Code: Select all
debugprint(fred)
debugprint(apple[1])
In Designer 3, exactly the same program fails as the On Mouse Key Click code no longer knows about the dimmed variable, but it knows the string called fred
When run, it outsputs the "1" as the page loads, then clicking the button prints "hello", the contents of string "fred", then fails with:
Table apple{} not found!
file:test.hws(current line: 53 - in function: func)
In lots of my programs I initialise the vars in the page load that will be needed thoughout the program, now all those programs fail when run under Designer 3