System Variables (AREV Specific)
At 15 OCT 2001 01:59:46PM Daniel Rebich wrote:
I'm looking for a system variable that identifies the program that is running. I looked through the R/BASIC documentation and didn't find anything that appeared to do the trick. Are there other system variables that are not listed in the book?
If there isn't a system variable that contains the program name; is there a way to determine the name via programming?
Thanks
Daniel Rebich
At 15 OCT 2001 02:44PM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:
World Leaders in all things RevSoft
At 16 OCT 2001 12:39AM Victor Engel wrote:
What you want is a function, not a variable. The function is retstack and returns a @FM-delimited list of programs. Topmost is the current program. Next is what called it, etc. so
current_program=retstack()
At 16 OCT 2001 10:07AM Don Miller - C3 Inc. wrote:
Don't forget to
DECLARE FUNCTION RETSTACK(parm)
in order to use it (even if it's Voc'd)
Don
At 17 OCT 2001 09:19AM Daniel Rebich wrote:
Don,
I have the following declaration in a program:
DECLARE FUNCTION RETSTACK
and then, the following line of code:
cur.prog=retstack()
I am receiving the following error:
The object code for RETSTACK cannot be
found in the SYSOBJ table.RETSTACK is also not cataloged.Please enter the name of the tablecontaining the object code for RETSTACK.
What did I miss?
Thanks
Daniel
At 17 OCT 2001 09:53AM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:
Presumably to follow the links here and download the routines?
World Leaders in all things RevSoft
At 17 OCT 2001 11:40AM Don Miller - C3 Inc. wrote:
You need to download programs from the Developer's library. Sprezz has pointed you to the right place. I've been using RETSTACK for so long now that I forgot it was not a part of AREV. There are a bunch of handy-dandy things in that library.
Don
At 17 OCT 2001 11:45AM Daniel Rebich wrote:
I attempted to follow that link yesterday. I am receiving an error about mozilla@ is unable to login. Do you have the actual URL or FTP site to go to?
Thanks
Daniel
At 17 OCT 2001 12:40PM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:
You can try this link. The FTP server seems to be down, but the download is part of the Demos and Downloads section.
World Leaders in all things RevSoft
At 17 OCT 2001 04:19PM Victor Engel wrote:
If you have problems downloading the file, you can copy this.
X="
X := (\00060000007E018B0100010101C401010101010101010101010101010101\)
X := (\010101010101010101010101010101010101010101010101010101010101\)
X := (\010101010101010101010101010101010101010101010101010101010101\)
X := (\010101010101010101010101010101010101010101010101010101010101\)
X := (\010101010101010101010101010101010101010101010101010101010101\)
X := (\010101010101010101010101010101010101010101010101010101010101\)
X := (\010101C501E880060701E96D0C63A18901EAE9840701EBEA66640A6FEA67\)
X := (\640A6F8B000104028A0A050701ECE31F070101EC6D7EEC6603640A6F6D7E\)
X := (\EC6503640A6F8B000104020701EC486701016D7EEC6403640A8007524863\)
X := (\0101EA6D7EEC6502640A6F6D7EEC6602640A6F8B000104028A0A050701EB\)
X := (\EA5348620101ED6D0BEAEB0363631E0701ED646480063101ED64640A8009\)
X := (\5148580101EDED65800B0A070101E8A7800DED0606400101014AE50001E8\)
X := (\64640A800D51487801E8646480063101E829B8017404303239390001FF01\)
X := (\24010001FEFE4250FE524554535441434BFE31323A30373A323020203032\)
X := (\204645422031393839000000000000000000000000000000000000000000\)
X := (\000000000000000000000000000000000000000000000000000000000000\)
X := (\000000000000000000000000000000000000000000000000000000000000\)
X := (\0000\)
WRITE X ON FILE_HANDLE, '$RETSTACK'
where FILE_HANDLE is the handle to the file in which to place the object code.
I also had forgotten that this was provided on a utility disk.