Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transform - undocumented format codes - anyone got a lis
Message
From
12/03/2000 01:37:13
 
 
To
11/03/2000 13:03:50
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00344584
Message ID:
00344680
Views:
23
Basically, any Format and InputMask code documented for TextBoxes works with TRANSFORM too.

Vlad

>Fred Taylor just suggested using a TRANSFORM("@L ... format code for a problem in another thread (Variable Not Found - Can't Debug)
>When I went looking for it in the MSDN help, it wasn't listed among the 'official' format codes. Odd, I thought, but it works, so who cares.
>
>Then I spotted the one (@0) which transforms decimal numbers to hex. Rarely useful to me but what would be much more useful, I thought, would be a format code that did the opposite - transformed the hex numbers back to decimal. That I've needed to do on many occasions. But it wasn't listed either. So I started playing around and found that if you use the form TRANSFORM(0xFFFF,"@H") you get your decimal number back. Wunderbar!
>
>The question to the panel is - what other undocumented format codes exist and has anyone published a list?
>
>Harry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform