Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create table syntax
Message
 
 
À
13/04/2000 14:48:51
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00359275
Message ID:
00359637
Vues:
12
Mike,

This all worked fine for me:

create database xyz
create table "this is a long spaced name" ( cLine c(20) )
use
drop table "this is a long spaced name"
use "this is a long spaced name"
create table "this is a long spaced name" ( cLine c(20) )
use
use "this is a long spaced name"
use
remove table "this is a long spaced name"
use "this is a long spaced name"

>I understand that VFP would be hard pressed to parse the line, but the quotes in the Long File Name portion of the command appear to be superfluous. They are not required according to the help (actually, they are not even suggested). They also can be dispensed with if we use long names involving underscores instead. I think its especially irksome for the language to support things half way.
>
>I mean, I can create table "junk" name "Mikey is not my name" (field1 c(5)) then remove table "mikey is not my name" fails. This command is acceptable remove table mikey_is_not_my_name
>
>So, the create table command probably shouldn't accept quotes in the long name as it lends itself to confusion.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform