Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Really frustrated by the behavior
Message
 
 
À
14/02/2002 19:45:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00620452
Message ID:
00620455
Vues:
14
I disagree with you. The meaning of ';' shouldn't change for comment lines but the code coloring should be fixed to show all comment lines in proper color.

>Ok, this has caused me some problems tonight so I thought I would talk about it.
>
>The following:
>
>
>* We can't have a ;
>lnLocation=AT(';',tcEmail)
>IF lnLocation>0
>   RETURN .F.
>ENDIF
>
>
>was skipping the lnLocation line as it was a continuity of the comment line. It took me a while to figure out what was wrong here. Especially that I had a value in lnLocation before that piece of code. So, all was working as is but the process was going into the loop when it was not suppose to.
>
>The ; at the end of the comment line should be a comment and not a continuity as we are in a comment line. It didn't occur to me to think that it would take the next line as a comment.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform