Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shorter than sys(2015)
Message
De
10/02/2015 15:06:36
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01614860
Message ID:
01615122
Vues:
42
>>If we're talking about file names, some characters are not valid, and others are effectively duplicates e.g. "A" and "a" are the same because Windows file names aren't case sensitive.
>>
>>A better estimate is 10 digits 0-9 + 26 alphabetic chars, or 36 total chars.
>>
>>36^5 is about 60 million.
>
>I would agree with John R, you are not taking into account UNICODE support for the file names, or even simple valid characters like ñúóéáí etc. (oh, and the space!)

The OP has only 5 chars/bytes of space for storage, so UniCode is out. If you want to include special characters like space, sure, that's to one's taste.

As for ñúóéáí etc. - FireFox underlines it with a red squiggly line, has no idea what it is. Clearly people who have lived south of the Equator start writing strangely ;-)
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform