'RTP57A' Line 215. Variable not assigned a value...zero used. (AREV Specific)
At 17 SEP 1999 05:34:18PM Kimberly K. Lea - CMS Oil and Gas Company wrote:
We are running AREV 3.12 under Windows 95 with expanded memory active. We are receiving the error message "'RTP57A' Line 215. Variable not assigned a value; zero used." Can anyone help with this issue? It would be greatly appreciated. After entering "#" at the debugger, received the following info:
Statistics after garbage collect:
There are 2,137 descriptors used.
There are 105,772 bytes of string space free.
The PROGRAMS array consumes 143,019 bytes of memory.
This is an environment received from one of our overseas sites and I am able to reproduce the error subsequent to loading it onto my local drive.
Help me…help me…pleeease!!!
Have a great weekend…toodles!
Kimberly
At 19 SEP 1999 12:03PM [email protected] - [url=http://www.sprezzatura.com]Sprezzatura Group[/url] wrote:
Normally, this type of error comes from either the handle, the key or the record having an unassigned variable.
At 19 SEP 1999 01:24PM Kimberly K. Lea - response to Aaron Kaplan wrote:
Aaron:
hmmm…but how do I fix it?
Thanks,
Kimberly
At 19 SEP 1999 03:28PM [email protected] - [url=http://www.sprezzatura.com]Sprezzatura Group[/url] wrote:
You'll have to go through the code and see where the unassigned it coming from. If you can narrow it down some, you should be able to find it. If you can't before each read, you'll have to do an IF UNASSIGNED() and check for it. If you don't know where, you could always try an MFS to find it.
At 21 SEP 1999 09:42AM Dale Walker wrote:
What I normally do in a case like this is to try and determine what variables are being used at that line in the code and then have the routine talk to me by using the following:
(PRINTER OFF) if it has been turned on.
PRINT "THIS IS variablex: ":variablex
PRINT "THIS IS variabley: ":variabley
etc
PRINT "OK? ":; INPUT Q,2 ; IF Q=N' THEN STOP
The input statement forces the routine to stop and allow me to read the variables that are being used. Usually, the variable is null or is text.
This way I can track down strange stuff or if the varible(s) are being initialized.
Dale
At 21 SEP 1999 10:53PM [email protected] - [url=http://www.sprezzatura.com]Sprezzatura Group[/url] wrote:
I do that as well when the system's local, but when I can't find it, or, like in this case, the system is thousands of miles away, the MFS can be easier.