[comp.sys.amiga.misc] AREXX

yurkon@CYCVAX.NSCL.MSU.EDU (05/10/91)

Ok, I am probably doing something stupid, but I can no longer get arexx programs
to execute under 2.02.  I create an arexx file, named test.rexx and put it
in the default directory.  I have also tried putting it in the rexx: directory.
When I type rx test or rx text.rexx I get a "Command returned 5/1: Program not
found" error.  Am I doing something wrong, or is it broken under 2.02?

	John

bj@cbmvax.commodore.com (Brian Jackson) (05/11/91)

In article <1991May10.153111.26018@msuinfo.cl.msu.edu> yurkon@CYCVAX.NSCL.MSU.EDU writes:
>					... I can no longer get arexx programs
>to execute under 2.02.  I create an arexx file, named test.rexx and put it
>in the default directory.  I have also tried putting it in the rexx: directory.
>When I type rx test or rx text.rexx I get a "Command returned 5/1: Program not
>found" error.  Am I doing something wrong, or is it broken under 2.02?
>
>	John

My first suspicion would be that you have forgotten to put the
required comment line as the first (non-blank) line in your
'test.rexx' file.
 
	/* test.rexx */
	say "test"
 

will work, while simply

	say "test"

won't (and will give you exactly the error that you are getting.)

bj

 -----------------------------------------------------------------------
 | Brian Jackson  Software Engineer, Commodore-Amiga Inc.  GEnie: B.J. |
 | bj@cbmvax.cbm.commodore.com    or  ...{uunet|rutgers}!cbmvax!bj     |
 | "We defy augury"                                                    |
 -----------------------------------------------------------------------

steved@DIALix.oz.au (Steve Doherty) (05/11/91)

>Ok, I am probably doing something stupid, but I can no longer get arexx programs
>to execute under 2.02.  I create an arexx file, named test.rexx and put it

Have you got the initial comment string as the first line in the script?

E.g.

/* comment for rexx */

say 'Hello!'

That may be your problem - bit me a few times 8v)

Cheers,
Steve