Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Chaining commands
Message
De
29/01/2008 12:05:20
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01286728
Message ID:
01286740
Vues:
28
>>This is probably a dumb question but . . . in VFP is there a way to chain multiple commands on a single line? Something like:
>>
>>x=4|y=6|x=14
>>
>>I've never seen this form but several other languages allow it.
>
>lcCmd = chtrtran('x=4|y=6|x=14','|',chr(13)+chr(10))
>execscript(lcCmd)
<g>
>
>But to answer your direct question, NO, I don't think so.

Thanks Naomi. I knew you could use CRLF but I was wondering if there was a more direct way.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform