Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replicate
Message
 
 
À
09/12/2003 15:04:58
Andy Roth
Neyenesch Printers
Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00857361
Message ID:
00857363
Vues:
31
>I want to replacte a string would would like to display in the string
>the number the replication is in the string
>
>Ouput example:
>Replicate("Form"+STR(replication number),3)
>Form 1
>Form 2
>Form 3
>
>Is there a way to access the counter for Replicate() to do this?

You would need to call a function to do this:

replicate("Form" + GetKount(Parm1), 3)

GetKount could return any string with a CRLF tacked on so each replicate is on its own line as well.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform