#Arexx problem
8 messages in this thread
This has me baffled. Some of the library routines calls from ARexx don't
seem to be working on my machine. In fact they're causing system crashes!
Something as simple as:
9.> rx "say showdir('ram:')" ;from rexxsupport.library
or
9.> rx "say getenv(username)" ;from rexxarplib.library
Results in a software failure. Sometimes, before the crash, I see
"Invalid Packet" messages (1-2 of them). I don't understand. I'm running
ARexx 1.15, WShell 37.5 (NewWSH) and Kickstart version 37.175 (from disk,
A3000), Workbench version 38.35.
Am I missing something? No doubt, eh? 🙂
BTW, is there any way to stop FComp from leaving its startup window on the
Workbench? (when it's started from the WBStartup drawer)
Thanks,
Bill
Have you loaded rexxsupport.library and rexxarplib.library?? I don't it
should cause a crash if you haven't but….maybe it does.
You probably have in invalid library in the ARexx search list. You can use the
rxlib command to list out the currently defined libraries in the ARexx library
list, and then check these to make sure they're all valid ARexx external
function libraries.
I'd suggest that you capture the list and report it back here, and I'll check
it over.
Bill Hawes
Possibly the ARP library is required as well?
It is for GetEnv(), I don't think that's an ARexx function.
I think I figured it out. I was loading the libraries I usually use in a
Rexx script (using the ADDLIB function)… *including* rexxsyslib.library!
I saw your message to someone else about rexxsyslib being the interpreter,
and I started thinking (a dangerous passtime, I assure you 🙂 I then
removed rexxsyslib from the list of loaded libraries and Voila! It works.
Thanks for your help, Bill (and Vic).
Later,
Bill
Bill,
I'm glad you got the ARexx library problem cleared up … putting the
rexxsyslib.library into the list is a definite No-No.
Just out of curiosity, can you recall who suggested that the library be put in
the search list? Several other customers have had this problem, and I'm
wondering whether some magazine article or other "helpful" suggestion lead to
the problem.
-Bill Hawes
Bill, sorry about the delay in getting my reply to you.
Ahhhh, well… hmmmm….. I think it was *my* stupid idea to include
rexxsyslib in the ARexx libraries. I think I just looked at the list of
libraries in LIBS: with the string "rexx" in their name and included them.
Oops!
Does the documentation specifically state that rexxsyslib should not be
included? Of course, not that it would have stopped me. 🙂
Later,
Bill