Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transform()
Message
 
 
À
22/10/2003 13:46:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00840834
Message ID:
00841190
Vues:
29
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform