>I'm still in the dark about when to use parenthases after commands such as thisform.refresh or thisform.refresh() and this.interactivechange or this.interactivechange(). Can someone explain when you do and don't use the parenthases or why you would or wouldn't?
>Thanks!
On VFP syntax, an property have priority respect to a method/procedure.
You do the parenthases when you put a parameter or you want evaluate the RETURN value,
otherwise you can don't use the parenthases for a speed up execution ( also of 3 times ),
because without parenthases and evaluation of return value VFP skip to search in properties list.
For a PRG's procedure VFP require parenthases ( this is a little parser bug ),
and then it search in array variable list before to search in procedure list.
with a "DO procedure" you skip this search and the execution is faster
CLEAR
? xx[2]
DIMENSION xx[2]
xx[2]="array 2"
? xx[2]
DO xx WITH 2
PROCEDURE xx(z)
? "proc",z
This open the same issue of the "m" dot prefix,
because you can hide a procedure with a homonym array.