Path: utzoo!mnetor!uunet!husc6!mit-eddie!gary From: gary@eddie.MIT.EDU (Gary Samad) Newsgroups: comp.sys.amiga Subject: Re: A small ARexx example, and other useful tidbits . . . Message-ID: <8767@eddie.MIT.EDU> Date: 8 Apr 88 16:01:57 GMT References: <26223@amdahl.uts.amdahl.com> <896@nuchat.UUCP> Reply-To: gary@eddie.MIT.EDU (Gary Samad) Organization: MIT, EE/CS Computer Facilities, Cambridge, MA Lines: 39 In article <896@nuchat.UUCP> peter@nuchat.UUCP (Peter da Silva) writes: } }> say "Cuckoo at" zhour||":"||xmin } ^ Don't you want a concatenation operator here? Nope. REXX automatically concatenates a space, then the object, if no concatenation operator is used. }> if opt="ALARM" then address COMMAND speak dingaling } ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Mind explaining this } construct? The ADDRESS keyword specifies that the upcoming statement is not to be executed by REXX, but is to be send to the HOST. COMMAND is a builtin hostname which executes programs. It could have been something like: address TXED insert 'foo' or something like that to send the statement to TexEd instead or address MFF_SERVER get_data_def dd to query Microfiche Filer about it's currently loaded database. There are shortcuts, by the way. You needn't always specify the address. You can specify the default address for all future unrecognized REXX constructs by the expression: address MFF_SERVER then get_data_def dd works as expected. cu, Gary