Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple Questions
Message
From
27/11/2002 10:46:39
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00727548
Message ID:
00727588
Views:
10
>Hi,
>
>Could someone help me with these questions? Thank you.
>
>1. Is it OK to pass a Memo field as a parameter to a function?
>
>2. When declaring variables as Private, is it necessary that these variables be declared earlier in your program? (The FoxPro help information was a little confusing - 'Hides specified variables or arrays that were defined in a calling program from the current program.')

Undeclared variables are treated similar to "private" variables. For safety, you should declare your variables either as "private" or as "local", preferably "local" in most cases. "Private" hides identically-named variables of a higher level of procedure (that is, calling procedure), but makes the variable available to lower-level procedures (called procedures).

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform