Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Variables Not Cleared After Program Ends

Status
Not open for further replies.

jsplice

Programmer
Jun 3, 2003
88
US
While debugging several programs, I noticed that the values in all variables are not being reset after the program ends. For example, I run the program once, then enddbg; I strdbg and run the program again, and all variables contain the values they had at the time the last program call ended. This is becoming very frusting because I have to signoff and sign back on every time i rerun the program. Does anyone know what is happening here?
 
jsplice,

Sounds like your program ends with *INLR = *off. If the program ends with only a Return, the variables are not cleared.
 
It appears as though you are correct. My return and Eval *INLR = *ON statements were reversed. It's been a long week so far...

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top