Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: kas1e on June 05, 2003, 01:10:42 AM

Title: sorry for lame arexx quastion
Post by: kas1e on June 05, 2003, 01:10:42 AM
have this lame problem:

;--test.rexx--
ADDRESS 'COMMAND'
'c:dir'
;-----------

amiga shell:> rx work:test.rexx
Command returned 5/1: Program not found
amiga shell:>

all need libs presend, in sys:rexxc need tools too, and c:dir present of course too. sorry for this, but what is it ?
Title: Re: sorry for lame arexx quastion
Post by: KennyR on June 05, 2003, 01:21:29 AM
Get rid of the ;. A comment in ARexx is always /* Comment */. And an arexx script must always have a comment at the start to be recognised.

/* test.rexx */
ADDRESS COMMAND
c:dir
Title: Re: sorry for lame arexx quastion
Post by: Phantom206 on June 05, 2003, 01:24:30 AM
Why you don't find an ARexx manual through internet and see what this "Command returned 5/1: Program not found" stands for?

Program not found says that the file is not in work:, right? try it and tell me...
Title: Re: sorry for lame arexx quastion
Post by: Phantom206 on June 05, 2003, 01:25:42 AM
KennyR knows better about ARexx  :-D  :-D
Title: Re: sorry for lame arexx quastion
Post by: kas1e on June 05, 2003, 01:32:23 AM
to kenny: comment - this for post here only, in file not any comments.

to phantom: dir work. if i write ANY command i have this error, but in shell this commands work perfectly. So, of course if you can give me link
on arexx manual, where i can found description this errors (commands work and presend),  this will be good. thanks for link.
Title: Re: sorry for lame arexx quastion
Post by: KennyR on June 05, 2003, 01:34:49 AM
As I said, you MUST have a comment at the start of the file, or RX won't recognise it as an ARexx script. It'll just give you:

Command returned 5/1: Program not found

because it thinks it's not an ARexx program.
Title: Re: sorry for lame arexx quastion
Post by: Phantom206 on June 05, 2003, 01:39:13 AM
Try this but it's under construction (it will be much helpful later)

http://www.nethkin.com/bmori/amiga/arexx.html

This has download files for Arexx...try it

http://www.acay.com.au/~bunton/afiles.html
Title: Re: sorry for lame arexx quastion
Post by: kas1e on June 05, 2003, 01:41:10 AM
thanks
Title: Re: sorry for lame arexx quastion
Post by: SabrynaWiza on August 07, 2021, 12:44:39 PM
Form and all theme is tool oriented for the struggle for the citizens. The parts of the https://repairdaily.com/main-reasons-to-encourage-students-to-take-on-diy-projects/ (https://repairdaily.com/main-reasons-to-encourage-students-to-take-on-diy-projects/) are fully equipped for the shows. The theme is filed for the runaway items for humans. the specific rule is played for the mixing of the turns for the team.
Title: Re: sorry for lame arexx quastion
Post by: QuikSanz on August 09, 2021, 02:07:50 AM
I wonder what kind of malware is in that Spam link.

Moderators, if you will, dispose of Please.

Chris