Jay Johengen Altamahaw-Ossipee, Caroline du Nord, États-Unis
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Simplify concantenated line of code
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01241143
Message ID:
01241143
Vues:
62
How to simplify this to remove the EVALUATE() and make it more readable?
FOR ix = 1to Whatever
REPLACE JMJ_IN.Diag1 WITHLEFT(ALLTRIM(UPPER(EVALUATE('loObj'+LTRIM(STR(m.ix))+".Field019"))),AT('^',EVALUATE('loObj'+LTRIM(STR(m.ix))+".Field019"))-1)
ENDFOR