Welcome, Guest. Please login or register.
Amiga Kit Amiga Store Hollywood MAL AMIStore App Store A600 Memory

AuthorTopic: sorry for lame arexx quastion  (Read 1559 times)

0 Members and 1 Guest are viewing this topic.

Offline kas1e

sorry for lame arexx quastion
« 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 ?
 

Offline KennyR

Re: sorry for lame arexx quastion
« Reply #1 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
 

Offline Phantom206

Re: sorry for lame arexx quastion
« Reply #2 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...
 

Offline Phantom206

Re: sorry for lame arexx quastion
« Reply #3 on: June 05, 2003, 01:25:42 AM »
KennyR knows better about ARexx  :-D  :-D
 

Offline kas1e

Re: sorry for lame arexx quastion
« Reply #4 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.
 

Offline KennyR

Re: sorry for lame arexx quastion
« Reply #5 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.
 

Offline Phantom206

Re: sorry for lame arexx quastion
« Reply #6 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
 

Offline kas1e

Re: sorry for lame arexx quastion
« Reply #7 on: June 05, 2003, 01:41:10 AM »
thanks
 

Offline SabrynaWiza

Re: sorry for lame arexx quastion
« Reply #8 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/ 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.
 

Offline QuikSanz

Re: sorry for lame arexx quastion
« Reply #9 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