🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.amiga.audio
3 messages
3 total messages Started by Max Edwards Wed, 17 Apr 1996 11:00
OctaMED Arexx Scripts
#5146
Author: Max Edwards
Date: Wed, 17 Apr 1996 11:00
17 lines
1143 bytes
I just got v6 and it's very good, the potential for customising it with Arexx
is huge.  But I can't get octamed to run my scripts, even after following the
instructions in the manual to the letter.  I haven't yet tried running it
with rx (I'm at work at the moment) but thought someone might know off hand
what's wrong.  I suspect the apostrophes; they're printed in the manual as
being different on the left and the right e.g.

`AN_AREXXCOMMAND'

for each command in the script (except control structures etc).  But I have
to press [Ctrl+'] to get [`] - should the first apostrophe perhaps be a ['] ?
Not having used Arexx at all before you can understand my confusion at this.
I'm pretty certain I've set up OctaMED properly to run the scripts.

Any help greatly appreciated,

Max
Re: OctaMED Arexx Scripts
#5158
Author: Teijo Kinnunen
Date: Thu, 18 Apr 1996 00:10
37 lines
2141 bytes
Max Edwards (max@minster.york.ac.uk) wrote:
> I just got v6 and it's very good, the potential for customising it with
> Arexx is huge.  But I can't get octamed to run my scripts, even after
> following the instructions in the manual to the letter.

You should take care that each script:
* contains a comment in the beginning of  its first line (e.g. /* script */)
* if you execute it from outside of OctaMED, contains the line:
	address "OCTAMED_REXX"

> I haven't yet tried running it
> with rx (I'm at work at the moment) but thought someone might know off hand
> what's wrong.  I suspect the apostrophes; they're printed in the manual as
> being different on the left and the right e.g.
> 
> `AN_AREXXCOMMAND'
> 
> for each command in the script (except control structures etc).  But I have
> to press [Ctrl+'] to get [`] - should the first apostrophe perhaps be a [']?

I don't remember right now how ARexx handles "reverse"-apostrophes, but the
above form doesn't seem correct anyway. You should use one of these formats:
	'AN_AREXXCOMMAND'
	"AN_AREXXCOMMAND"
	AN_AREXXCOMMAND

Either the apostrophes or quotation marks are both accepted by ARexx.
The quoting conventions are quite tricky indeed.

- Teijo

-- 
    o------------------------------------------------------------------o
   /  Teijo Kinnunen - Valkkyla 7 as 413 - 90100  OULU - FINLAND      /
  /  Student at University of Oulu, Dept. of Electrical Engineering  /
 /  Teijo.Kinnunen@oulu.fi   --   http://stekt.oulu.fi/~kinnunen/   /
o------------------------------------------------------------------o
Re: OctaMED Arexx Scripts
#5177
Author: Max Edwards
Date: Fri, 19 Apr 1996 11:26
33 lines
1959 bytes
Teijo Kinnunen (kinnunen@stekt.oulu.fi) wrote:
: You should take care that each script:
: * contains a comment in the beginning of  its first line (e.g. /* script */)
: * if you execute it from outside of OctaMED, contains the line:
: 	address "OCTAMED_REXX"

I didn't realise the comments were obligatory, the examples in the manual
don't all use comments.  I do already have the address ... bit, but without
the quotes - again, they're not used in the manual.

: I don't remember right now how ARexx handles "reverse"-apostrophes, but the
: above form doesn't seem correct anyway. You should use one of these formats:
: 	'AN_AREXXCOMMAND'
: 	"AN_AREXXCOMMAND"
: 	AN_AREXXCOMMAND

: Either the apostrophes or quotation marks are both accepted by ARexx.
: The quoting conventions are quite tricky indeed.

Then I'll have to make a very small complaint - the manual uses `..'
throughout the tutorial.  I tried trunning the script with rx and it
couldn't find it, even when I gave it the full pathname - does it have to
be executable?  I'll try the things you suggested when I get home.

Thanks for OctaMED Teijo, you can be proud of it.

Max

:     o------------------------------------------------------------------o
:    /  Teijo Kinnunen - Valkkyla 7 as 413 - 90100  OULU - FINLAND      /
:   /  Student at University of Oulu, Dept. of Electrical Engineering  /
:  /  Teijo.Kinnunen@oulu.fi   --   http://stekt.oulu.fi/~kinnunen/   /
: o------------------------------------------------------------------o
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads