05-07-2008, 06:45 PM
Exception because the controls variable is declared not in array with other variables of the dialog. Exceptions cannot be ignored.
This is correct:
str controls2
controls2 = "3 4 5 6"
str c3Com c4Pas c5Cop c6Can
ShowDialog ... &controls2
This is error:
str controls
int something; str soething2; etc
controls = "3 4 5 6"
str c3Com c4Pas c5Cop c6Can
ShowDialog ... &controls2
----
In this case, dialog variables are not used. You can delete the declarations, and instead of &controls use 0.
This is correct:
str controls2
controls2 = "3 4 5 6"
str c3Com c4Pas c5Cop c6Can
ShowDialog ... &controls2
This is error:
str controls
int something; str soething2; etc
controls = "3 4 5 6"
str c3Com c4Pas c5Cop c6Can
ShowDialog ... &controls2
----
In this case, dialog variables are not used. You can delete the declarations, and instead of &controls use 0.
