Hi all,
I had just came out of this, and I don't know if it has anything related to how OOP in VFP work on no (system variable has some protection). But in my opinion. It has.
? _pageno && Return 1
LOCAL _pageno && Error: Must be variable or array
? m._pageno && error: variable '_pageno' is not found
CREATE CURSOR mycur (_pageno n(1)) && Error: Syntax Error
#1 why Local _systemvariable gives error? I cannot change it scope means it is protected? if yes who protect it or prevent it from changing?
#2 Why I cannot use m. before system variable?
#3 can I create a variable to work as system variable?
I mean gives error when I try to create field in table/cursor with the same name of system variable and gives error when i try to change it is scope.
#4 Error "Must be variable or array" and "variavle xxx is not found" means that _pageno is not variable? what it is?
TIA
Samir R. Ibrahim
Good things Take time, Great things happend all at once.My WebLogMy Website:
www.cdcity.org