>The problem with an equivalent piece of code has just caught me out - see if you can spot it (I couldn't for ages, even in the debugger):
>
>So, here's Maximum Bob's quiz:-
>
>(No cheating, no prizes)
>
>* Set up our local variable:
>local sTest
>
>* Now, here's the easy bit:
>sTest = "Ole Ftang"
>
>* Tell everyone what the result is:
>messageBox("sTest is currently: " + sTest)
>
>* Now change the value;
>stest = "Biscuit barrel"
>
>* Tell everyone what the result is now:
>messageBox("sTest is now: " + sTest)
We had the same problem once; there should be a colon at the end of "Now change the value". Our coding standard asks for empty comment lines before and after the comment text.
*
* Now change the value;
*
Now the mistake has no effect.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only