CompuServe Thread

#ARP-HELP

5 messages in this thread
#37785From: Ed BrawleyNov 18, 1993 5:00 PM
Whenever I run a program with an ARP function it stops at the first ARP function whether I have opened the library in that program with addlib('rexxarplib.library',0,-30,0) or with RXLIB rexxarplib.library 0 -30 0 before I run it! Here is part of a program called GetWeather.ap which I downloaded: options results call addlib('rexxsupport.library',0,-30,0) call addlib('rexxarp.library',0,-30,0) dir='ram:' capturefile=dir || 'WeatherReport' city=??? count=0 do forever city = request(200,175,'Enter City for Weather','',,'Cancel','AutoPilot') etc….and here is where it stops. If I change this step to city = ABQ then the program runs fine (I also had to change the 'go AWM-23' to 'go WEA-1023'). But I just can't get it to run ARP functions!! Ed via. AP
#37789From: John DraperNov 18, 1993 11:07 PM
Well, it looks like you have some sort of a problem with rexxarplib.library itself. Some possibilities are that it is not in LIBS:, or that its name is incorrect, or has the wrong case. rexxarplib.library needs to be in LIBS:, as opposed to just any old directory called LIBS. One way to check to see if you are actually loading rexxarplib.loibrary is to change the line… call addlib('rexxarp.library',0,-30,0) to say addlib('rexxarp.library',0,-30,0) The result (printed by the SAY command) should be non-zero. If it is zero, then you are not opening rexxarplib.library, and it on;y remains to find out why. -larry
#37793From: Bill HawesNov 19, 1993 6:51 AM
Your examples using addlib() refer to the library name as 'rexxarp.library' rather than 'rexxarplib.library' … was this the intended name? The function library written by Willy Langeveld must be addlibed using the name 'rexxarplib.library'. Also, be sure that the LIBS: directory contains screenshare.library — no need to addlib() it, just be sure it's in LIBS:. -Bill Hawes
#37796From: John DraperNov 19, 1993 10:43 AM
OOooops! Well, look at that! Here I am cautioning him that the library name needs to be right, and I completely missed the fact that the examples I took from Ed's code were not spelled correctly. -larry
#37801From: Andy FinkelNov 19, 1993 6:15 PM
rexxarp.library is incorrect; its called rexxarplib.library. And I believe having a non-existant library on the list _will_ cause problems accessing libraries that are after it on the list. andy