Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need a method to create a file path from passed string.
Message
De
19/02/2010 14:26:05
 
 
À
19/02/2010 12:00:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01449783
Message ID:
01449959
Vues:
51
Suppose you were using Word, and created a new document MyThoughtsOnCaseSensitivityInWindows.docx in a new folder MyUTDocs. Would you be happy if Windows or Word saved those names as all lower or all upper case?

>I do not agree that it is reasonable to expect.
>
>As it happens, the DOS prompt is kind enough to you to maintain the case that you type. Of course, it goes through some layers before getting to the actual creation of the folder.
>
>Assuming that some other application (VFP), which travels through a different combination of layers, eventually getting to the layer that creates the folder, would also be kind enough, is not reasonable. It could be, of course, but there's no need for it to be, since in Windows there is no difference.
>
>The DOS prompt is not the OS, is it? Isn't it a layer on top of the OS?
>
>>Come on Jim...
>>
>>If I go to a DOS prompt and type
>>
>>MD Jim
>>
>>and
>>
>>MD JIMNELSON
>>
>>
>>It honors the case that I type. Surely it's reasonable to expect our fine VFP langauge to act the same way as its hosting OS.
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