Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic Object Syntax
Message
 
 
À
14/06/2000 16:57:25
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00380457
Message ID:
00380461
Vues:
18
Try this code
FOR ii = 1 TO lnCount
    *-- loObject should hold a reference to your Start1, Start2, etc. objects
    loObject = EVALUATE('start' + ALLTRIM(STR(ii))
ENDFOR
>I have several objects I want to address in a loop the objects are named Start, Start1, Start2 etc. I need to loop through some code pointing to thes objects incrementally. How can I make the syntax dynamic? Example: oProj.Tasks.Item(tre).Start(loop iteration) = rtew
>Thanks For The Help.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform