Tip of the day!

fp at casabellagallery.com fp at casabellagallery.com
Thu Nov 29 13:39:30 PST 2007


Did you know that if you associate dummy variables to an array
and try to reference these variables prior to having declared (in
a line above the line where the array is defined) the array you
will get a syntax error?  Now you do!

****** NOT GOOD *******
then: ya(10,.2)=xa+xb+xc
then: dim xabc(3)(10,.2):xa

****** GOOD *******
then: dim xabc(3)(10,.2):xa
then: ya(10,.2)=xa+xb+xc

Not a big deal but a shocker if you are not aware of this or
if your mind has wondered off to wonder-land  :)

So there, stop blaming filePro for these errors and make sure your
arrays are defined prior to referencing their respective associated
variable.

Regards,


---
Jose Lerebours
954  559  7186
http://www.fpgroups.com



More information about the Filepro-list mailing list