Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Built in function to get Alpha from Numeric
Message
From
01/10/2003 12:53:56
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00833875
Message ID:
00833889
Views:
25
in case anyone else needed it heres what i came up with.

Function numtoalphabet

Parameters nval

If nval < 27

retval = Chr(64+nchr)
Else

retval = CHR(64+INT(nval/26)) + CHR(64+ nval- 26 *INT(nval/26))

Endif
RETURN retval

Paul
Previous
Reply
Map
View

Click here to load this message in the networking platform