Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Small annoying bugs
Message
 
 
À
17/04/2005 05:45:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01005551
Message ID:
01006105
Vues:
21
Fabio,

You wouldn't have those problems if you didn't use inline comments. I, personaly, find programs with inline comments hard to read and maintain so I almost never use them.

>
>ON ERROR
>x= ; &&  test
> 'ciao'
>
>* bug 1 :
>
>* ok
>*x= ;
> 'ciao'
>
>* 'ciao' is within a line comment, but editor don't show it correctly
>
>*x= ; &&  test
> 'ciao'
>
>* bug 2 : the second ; is within a inline comment, but the compiler fire a error
>
>x= ; &&  test * ;
> 'ciao'
>
>* workaround : reset the parser stack with a comment tag
>x= ; &&  test ; ;;;;;;;;;; &&
> 'ciao'
>x= ; &&  test ; ;;;;;;;;;; *
> 'ciao'
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform