Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transform()
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00840834
Message ID:
00841190
Views:
25
Gerry,

Something is way whacked out here! As I'm sure you know by now. *g*

>If I do ?transform(150) from the command window I get 15. ?transform(1000) = 1

What happens if you try this:

lcX = transform(150)

and look at the memvar in the debugger is it '15' or '150'?

I just tested this an you can not create a udf named transform() that will override the builtin function. But it might be possible that you've got a #DEFINE laying around that is interfering here.

>There is a format code, @Z, that: "If 0, currency or numeric values are converted to spaces." If I do ?transform(150,'@Z') from the command window I get 150. I shouldn't have to do this though.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform