Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is this a PADL bug?
Message
From
26/07/2002 09:28:20
 
 
To
26/07/2002 09:21:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00682949
Message ID:
00682951
Views:
23
n = 0
?PADL(STR(n),2,"0")
Hi, Randy, that´s not a problem with PADL(). You may take a look that Str(n) will return a string with 10 characters. You may have to do something like this:
n = 0
?PADL(Alltrim(STR(n)),2,"0")
or, by using Transform(), like this:
n = 0
?PADL(Transform(n),2,"0")
Claudio Lassala
Previous
Reply
Map
View

Click here to load this message in the networking platform