Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A puzzle
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00147170
Message ID:
00147478
Vues:
19
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform