The GW-Scripting list is a discussion list for information regarding the development and use of Window-Eyes scripts. Any subscriber of the GW-Scripting list has the ability to post on-topic messages.
From:
martin websterSubject:
strange behaviour with immed and arraysDate:
Sun, Jan 31, 2010 9:51:47 amHi,
why does the immed script sometimes and only some times give a type miss match error when defining an array. for example the following code fragment some times gives a type miss match error:
Dim cities(10)
and the next fragment definitely gives a type miss match error when there is nothing wrong with the code:
Dim cities(10) : cities(0) = "huddersfield"
Strange but true.
regards.
Martin Webster.
why does the immed script sometimes and only some times give a type miss match error when defining an array. for example the following code fragment some times gives a type miss match error:
Dim cities(10)
and the next fragment definitely gives a type miss match error when there is nothing wrong with the code:
Dim cities(10) : cities(0) = "huddersfield"
Strange but true.
regards.
Martin Webster.


