Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replicate
Message
 
 
To
09/12/2003 15:04:58
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00857361
Message ID:
00857363
Views:
30
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform