🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.audio
Article #5158

Re: OctaMED Arexx Scripts

#5158
From: 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
Technical Details
Message-ID: <4l4190$1me@ousrvr3.oulu.fi>
Path: arc1-ca.pugleaf.net!ousrvr3.oulu.fi!not-for-mail
References: <4l2j11$ac4@netty.york.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!ousrvr3.oulu.fi!not-for-mail
From: kinnunen@stekt.oulu.fi (Teijo Kinnunen)
Newsgroups: comp.sys.amiga.audio
Subject: Re: OctaMED Arexx Scripts
Date: 18 Apr 1996 00:10:08 GMT
Organization: University of Oulu, Department of Electrical Engineering, Finland
Message-ID: <4l4190$1me@ousrvr3.oulu.fi>
References: <4l2j11$ac4@netty.york.ac.uk>
NNTP-Posting-Host: stekt27.oulu.fi
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]