Article View: comp.sys.amiga.tech
Article #822Re: Elinating the 'rx' from AREXX
From: Lee Sailer
Date: Thu, 10 Aug 1989 13:39
Date: Thu, 10 Aug 1989 13:39
17 lines
1076 bytes
1076 bytes
On IBM's CMS (the home of the original REXX) there is a kludgy but simple
convention for distinguishing REXX files from the older EXEC files which
could be used to distinguish AREXX from AmigaDOS scripts, too. On CMS,
if the script starts with a comment on line one, then it is REXX. This
is perhaps similar to the UNIX convention of putting (something like)
#!/bin/sh at the beginning of a script to tell the C shell to use the
Bourne shell, instead.
So, in short:
If the first line of an AmigaDOS script is
/* AREXX */
then AmigaDOS hands the script over to AREXX and bails out.
lee
Technical Details
Message-ID:
<89222.093949UH2@PSUVM>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!ginosko!husc6!psuvax1!psuvm!uh2References:
<1989Aug8.214011.3351@agate.berkeley.edu> <479@tw-rnd.SanDiego.NCR.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ginosko!husc6!psuvax1!psuvm!uh2 From: UH2@PSUVM.BITNET (Lee Sailer) Newsgroups: comp.sys.amiga.tech Subject: Re: Elinating the 'rx' from AREXX Message-ID: <89222.093949UH2@PSUVM> Date: 10 Aug 89 13:39:49 GMT References: <1989Aug8.214011.3351@agate.berkeley.edu> <479@tw-rnd.SanDiego.NCR.COM> Organization: Penn State University - Center for Academic Computing Lines: 17