Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simplify concantenated line of code
Message
De
17/07/2007 12:28:21
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
17/07/2007 12:26:21
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01241143
Message ID:
01241158
Vues:
32
>>
>>FOR ix = 1 to Whatever
>>    WITH EVALUATE('loObj'+TRANSFORM(m.ix))
>>         REPLACE JMJ_IN.Diag1 WITH LEFT(ALLTRIM(UPPER(.Field019)),AT('^',.Field019)-1)
>>    ENDWITH
>>ENDFOR
>>
Personally, I'm scared to death of WITH...ENDWITH

http://fox.wikis.com/wc.dll?Wiki~WithLeaksLocals~VFP
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform