Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Built in function to get Alpha from Numeric
Message
De
01/10/2003 12:53:56
 
 
À
01/10/2003 12:24:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00833875
Message ID:
00833889
Vues:
24
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform