To define a global var:
PUBLIC myvar
myvar = "myvalue"
To check for the existance of a var called myvar:
IF TYPE("myvar") <> "U"
***The var myvar exists.
ENDIF
>Sorry for such a basic question but here it goes....
>
>I need some sort of global vairable to keep track of a user entered variable. It's entered in a .prg which closes at the end. The user reopens the same program and uses it for a different record. How/where do I define this and how do I use it?
>
>Thanks,
>Sunshine
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