>----b) Arrays must be coded in LOCAL statements separately from memvars coded wqith LOCAL statements. This was always the 'rule' but VFP6 allowed mixing them anyway.
Not true. You can mix scalars and arrays in LOCAL declarations, but you must omit the ARRAY keyword. IOW, this is legal:
LOCAL cString, nNum, aArray[5]
but this is not:
LOCAL cString, nNum, ARRAY aArray[5]
In previous versions, that second line created three scalars and an array. The third scalar was named "Array". IOW, this is another consequence of requiring commas rather than spaces between declarations.
Tamar
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only