Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Comment By condition
Message
De
18/06/2009 09:00:18
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01406827
Message ID:
01406842
Vues:
78
some code.....

scan&&run this line only if a=25

long code...........................&& run always
..................
..................
..................

endscan&&run this line only if a=25


some code.....

To be more clear: one option is to run the code for one person and the other for list.

>Is your code inside SCAN...ENDSCAN or other way around?
>
>>
>>I have long code that contain also 'scan..endscan'.
>>
>>The user can run the code with two options, one option is without this scan.
>>So, in that case can I ask VFP to cosider this two lines as comment or I have to copy all the code to other method (toremove the scan..) and to remember to update each change?
>>
>>Tnx
Thank you
Chaim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform