>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)