>Hi all,
>
>I have a weird problem happening only to one of our customer. He got an error #12 (variable ... not found) This variable is public in the program and there is no "REALEASE ALL EXTEND" in the code
>
>Any idea's welcome
You can "lose" a public variable if you pass the public variable to a function or procedure by reference.
PUBLIC z
z = "test"
?"Pass public z by value"
test(z)
?"Pass public z by reference"
test(@z)
? "After function calls, public var z=",z
FUNCTION test
PARAMETERS xx
? "Parameter xx (passed public z)= ",xx," and TYPE() of z variable=",TYPE("z")