Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A puzzle
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00147170
Message ID:
00147478
Views:
18
>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
Map
View

Click here to load this message in the networking platform