Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameters to generalised prompt/edit form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00618212
Message ID:
00618816
Views:
23
>>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!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform