Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!pacbell.com!tandem!zorch!amiga0!mykes From: mykes@amiga0.SF-Bay.ORG (Mike Schwartz) Newsgroups: comp.sys.amiga.advocacy Subject: Re: IAC (was Re: Clipboard (was Re: The Amiga's Future)) Message-ID: Date: 9 Jun 91 08:51:13 GMT References: <1991Jun8.044840.1404@mintaka.lcs.mit.edu> <1991Jun8.074935.781@neon.Stanford.EDU> <1991Jun8.090052.12906@mintaka.lcs.mit.edu> <1991Jun8.091822.13675@mintaka.lcs.mit.edu> Organization: Amiga makes it possible Lines: 45 In article <1991Jun8.091822.13675@mintaka.lcs.mit.edu> rjc@geech.gnu.ai.mit.edu (Ray Cromwell) writes: > >Example: > >/* A program to print numbers 1 to 100 to my terminal */ >address 'VLT' /* Connect to VLT's port. This doesn't have to be here > if you're running this script from the term's menu > option to execute Arexx scripts */ > >do i = 1 to 100 > send 'i*R' /* The *R is an escape code to send a newline */ >end > >end example: > > There, that was easy. The send command is normally not part of Arexx's >language and will generate a syntax error if the term isn't >loaded. > As easy to program in as BASIC. One of the first things I ever did with ARexx was to integrate a few applications together. I wrote an ARexx script that caused my Term program (BaudBandit) to dial compuserve, login, navigate through the menus, and ask for (and capture) stock quotes on Apple and CBM. The ARexx program then took the numbers from the term program and entered them into a spreadsheet in Superplan (daily stock quote data base). It then commanded Superplan to generate an IFF file from a graph done by SP. It also took some summary data from SP and nicely formatted it into a document in my word processor (ProWrite). And, oh yeah, I had bound it to a function key in my editor (CygnusEd) for fun. These days, I use These days, I've modified the script to allow me to enter all the stocks and options in my portfolio to my spreadsheet and the script interrogates it to find what stocks to get prices for. I also am running it automatically at 2:00AM while I am asleep via Matt Dillon's DCRON. This is something that I did almost 3 years ago, and might be possible on other computers (namely the Mac) in the future... By the way, Ray and others really haven't mentioned another major benefit of ARexx: It is an AWESOME text/macro language, thanks to a lot of excellent string functions. -- **************************************************** * I want games that look like Shadow of the Beast * * but play like Leisure Suit Larry. * ****************************************************