Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing parameters to generalised prompt/edit form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00618212
Message ID:
00618816
Vues:
25
>>PMFJI, Larry, why do you define your props like:
>>
cVarname=(space(0))
>>isn't that the same as:
>>
cVarname=""
>
>It is.
>
>I use the space() function when I can because of the self documenting nature of it.

I think I guessed that. The extra set of parens (space90)) threw me off though.

I was defining some props the other day and doing conName = space(50), conTitle = space(25), etc... and began to wonder, is the amount of spaces necessary? If the prop starts out with 10 spaces and a gets set to a longer string, you don't get an error, so what's the point? Not doing it sure saves a lot of typing and looking up field lenghts in tables.

>Just wierd I guess. < s >

I figured you just liked to type. <s>
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform