Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I put multiple commands on a single line?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Can I put multiple commands on a single line?
Divers
Thread ID:
00264921
Message ID:
00264921
Vues:
48
I have the following code:
LOCAL laMyArray(4)
laMyArray(1) = "MyTable.MyField 1"
laMyArray(2) = "MyTable.MyField 2"
laMyArray(3) = "MyTable.MyField 3"
laMyArray(4) = "MyTable.MyField 4"

But I would like to do the following code:
LOCAL laMyArray(4)
laMyArray(1) = "MyTable.MyField 1" laMyArray(2) = "MyTable.MyField 2"
laMyArray(3) = "MyTable.MyField 3" laMyArray(4) = "MyTable.MyField 4"

The reason I want to do this is because I have as many as 21 elements in my array and it would be easier to read multiple commands grouped as above rather than scrolling down 21 lines. I would only have to scroll down 11 lines. Will this syntax work or what character is needed to separate the commands?

I thought I read this somewhere, but I don't remember the answer.
Thanks for the help.
Steve Kramer
Kramer & Kramer Design
"Home of Go Cartoons"
Web Site: www.stephenkramer.com
Would you believe Far Side Lite?
More than 270 original cartoons.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform