>I need to set up some variables and I need to ensure they are datatyped correctly for field types. How do I declare a local variable....
> TEXT
> INTEGER
> NUMERIC
> CURRENCY
> DATE
>
>
>Thanks
Pater,
You don't, VFP is not a strongly typed language. Vars can change type on the fly.
If you want to initialize them then you can do this;
LOCAL lcVar, ltVar, lnVar
lcVar = ""
ltVar = {}
lnVar = 0
Integer and numeric are the same in memvars as are currency, double, and float.