Article View: comp.sys.amiga.tech
Article #3492Re: Arexx/dme
From: Frank Pecher
Date: Sun, 06 May 1990 15:44
Date: Sun, 06 May 1990 15:44
56 lines
2988 bytes
2988 bytes
In article <1990May5.010147.16029@cec1.wustl.edu> bdo8650@cec1.wustl.edu (Bryan Dennis O'Connor) writes:
>
> 1) How can I change TABS in DME (v1.38) to be more Tab like.
> Such that when I hit tab in the middle of a line it moves the
> line from that point over to the next tab stop? I tried using
> SPLIT TAB JOIN and it works except when there is white space
> involved. Any suggestions?
Try the following macro definition:
map (tab) (repeat tr (( )))
Every time you hit the TAB key, DME will write as blanks until it reaches
the next cursor position.
> 2) I used the EXECUTE function in v1.31 to call Lattice v5.05 by
> doing a EXECUTE (LC -L ($filename)) and it would send the
> output to the console window for reading error messages and
> all. In v1.38 it does not do this, it sends it to the NULL
> device. (therefore I can't read the errors... not that I
> ever have them :-) ).
I think the newer versions of DME start programs as a background task (just
a guess). That's why you get no output on your current CON: window. But try
this:
(execute (lc >ram:lcout -L ($filename))
newwindow newfile ram:lcout
execute (delete ram:lcout))
[Write all in ONE line, or better, map it to a key]
Now your compiler output should be written in a file named ram:lcout. The
next command will open a new window and will read this file into it. The
third command will delete it from your ram disk.
> 2b) What advantage would AREXX be in the above situation? I know
> that it is a macro script language but I have never heard of
> any really awesome useful uses. (Like in the above case).
> Does anyone else use DME and Lattice?
I do. I use the DME for quite a long time, and yesterday, I bought Lattice.
The reason why very few people care about writing ARexx scrips for this
editor is, I think, because the DME macro language is itself powerful
enough. Not like ARexx, of course, but still, you can really do a lot with
it:-)
> Thanks..
> Bryan.
You're welcome
Frank
--
\ "... and the universe will explode later for your pleasure!" /
\ -- Douglas Adams, The Restaurant at The End of The Universe /
\ ADDRESS: root@bcstarc.UUCP /
\____Frank Pecher___________BANG:____...!smurf!nadia!bcstarc!root____/
Technical Details
Message-ID:
<47@bcstarc.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!snorkelwacker!ira.uka.de!smurf!nadia!bcstarc!rootReferences:
<1990May5.010147.16029@cec1.wustl.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!snorkelwacker!ira.uka.de!smurf!nadia!bcstarc!root From: root@bcstarc.UUCP (Frank Pecher) Newsgroups: comp.sys.amiga.tech Subject: Re: Arexx/dme Message-ID: <47@bcstarc.UUCP> Date: 6 May 90 15:44:34 GMT References: <1990May5.010147.16029@cec1.wustl.edu> Reply-To: root!bcstarc@nadia.UUCP (Frank Pecher) Organization: Boeblingen ComputerScienTific ARChive Lines: 56