>Hello to all
>
>These are two questions:
>
>1) Wich are the correct syntaxis?:
>
>varname="list1"
>dimension &varname(1,3)
> or
>dimension &varname.(1,3)
>
>2) And in this other case?:
>
>ArrayLenght=alen(&varname,1)
> or
>ArrayLenght=alen(&varname.,1)
>
>I have problems with the macro substitution in some VFP 6 functions.
>Does the macro substitution works within this functions?
It works - and the dot is not mandatory,
except when you need a dot to be part of your command, and then you have to put two dots:
lcAlias=alias()
replace &lcAlias..fieldname with whatever
In this case the first dot denotes the end of macro, and the other is required by the syntax of the sentence.