Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor naming
Message
De
03/01/2000 15:42:34
 
 
À
03/01/2000 15:32:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00311868
Message ID:
00311887
Vues:
19
>>>I have just discovered that if I create a cursor with a name beginning with a number, I get a syntax error, i.e
>>>
>>>CREATE CURSOR 123457 (tField c(10) )
>>>
>>>returns a syntax error but
>>>
>>>CREATE CURSOR abcdef (tField c(10) )
>>>
>>>does not.
>>>
>>>Is this new, or merely something I have not run across before?
>>>
>>>Regards,
>>
>>Not sure if it's anything new or not. I *think* it's always been there. And that you've just not run into it before. :)
>
>Fred,
>
>You are probably right. But I wonder having used SYS(2015) all these years to get unique cursor names, why I have not run into this before -- especially since file names beginning with a mumeral became legal in DOS 5 ( or 6? ).
>
>Regards,

I don't think it's the OS that's complaining. It is perfectly legal to have a file name beginning with a digit. I think it's VFP's parser that doesn't like it.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform