Code
switch(testit, 2, 1, 2, 1);
if( get(testit),
trace('test it: ',get(testit));
switch(testit, 2, 1, 2, 1);
);
is it possible to give a variable "testit" several values and than to work with these different values inside a loop.
in my example, if all values of the variable are print on logwindow than exit/end the loop?
(above code does not work)... or is the switch(variable, value1, value2, value3) etc.only usable for oncklick events and similar?
many thanks in advance!
Liebe Gruesse,
Georg