[comp.sys.amiga.programmer] REXXARPLIB causes guru...

graham@venus.iucf.indiana.edu (JIM GRAHAM) (01/22/91)

I cannot get rexxarplib to load without causing a guru.

Basically, all I want to do is use the file requester.
Here is how I'm trying to do so:
-------------------------------------------------------
  /* Check for rexxarplib in resources list. */
  if ~show('L','rexxarplib.library') then
    call addlib('rexxarplib.library',0,-30)
  .
  .
  . 
  /* Put up file requester. */
  logfilename=getfile(10,10,,,"Select file",)
  .
  .
  .
-------------------------------------------------------

I really don't know if the library is failing to load.  I get no
error messages from arexx before the system gurus.

If it's helpful, I've got 2Mbytes of ram (BaseBoard).
Additionally, I'm (trying) to run the arexx script under Csh
using the following command line:

     rx myscript

Can someone PLEASE tell me what I'm doing wrong?

Thanks,
-Jim

-> ->Disclaimer: I'm not ashamed of what I say. <- <-
     Sorry if the above disclaimer is too long.
 ______________________________________________________________________
| Internet: graham@venus.iucf.indiana.edu                              |
| UUCP:     dolmen!graham@iuvax.cs.indiana.edu                         |
| FIDO:     Soon!                                                      |
| BBS:      The PORTAL DOLMEN BBS/ParaNet ALPHA-GAMMA (sm) (9:1012/13) |
|            (812) 334-0418, 24hrs.                                    |
|______________________________________________________________________|

WGLP09@SLACVM.SLAC.STANFORD.EDU (01/23/91)

I tried exactly the example you gave (without the . lines) and as they
say in the trade "it works here". Something in your system isn't set up
right.

       Willy.

graham@venus.iucf.indiana.edu (JIM GRAHAM) (01/23/91)

In article <91022.170401WGLP09@SLACVM.SLAC.STANFORD.EDU>, WGLP09@SLACVM.SLAC.STANFORD.EDU writes...
>I tried exactly the example you gave (without the . lines) and as they
>say in the trade "it works here". Something in your system isn't set up
>right.
> 
>       Willy.

I finally got things to work.

I did something really STUPID!

I had accidentally put the call to the GetFile() function
BEFORE the call to addlib().

DUMB, DUMB, DUMB!!!!

Thanks to all who have respond on the net or via email.

Also, thanks to Willy Langeveld for making my life so much easier.

-> ->Disclaimer: I'm not ashamed of what I say. <- <-
     Sorry if the above disclaimer is too long.
 ______________________________________________________________________
| Internet: graham@venus.iucf.indiana.edu                              |
| UUCP:     dolmen!graham@iuvax.cs.indiana.edu                         |
| FIDO:     Soon!                                                      |
| BBS:      The PORTAL DOLMEN BBS/ParaNet ALPHA-GAMMA (sm) (9:1012/13) |
|            (812) 334-0418, 24hrs.                                    |
|______________________________________________________________________|