home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!paladin.american.edu!news.univie.ac.at!hp4at!mcsun!corton!gna!amipb.gna.org!amipb
- From: amipb@amipb.gna.org (Philippe Berard)
- Newsgroups: comp.sys.amiga.applications
- Subject: Re: AREXX question for CED Pro users
- Message-ID: <amipb.02ui@amipb.gna.org>
- Date: 5 Nov 92 12:36:51 GMT
- Organization: IWANIMA
- Lines: 55
- X-NewsSoftware: GRn 1.16e (7/4/92) by Mike Schwartz & Michael B. Smith
-
- In article <1992Oct28.151432.22477@black.ox.ac.uk> ociszam@black.ox.ac.uk (Iftikhar Zaman) writes:
- > (I don't see anyone speaking about CED, which is, I think, an
- > excellent editor...)
- >
- > Numerous scripts which I write need at some time or another, to
- > know what character is under the cursor at a certain time. Now,
- > on screen one can set the environment so that the ASCII value of
- > the character under the cursor shows up in the status line...
- > Unfortunately, I don't say any "status" variable which AREXX
- > could query to get the ASCII value of the character under the
- > cursor...
- >
- > Any workarounds?
-
- Here is a little example (quite slow though, but surely better) :
-
- /* Display the character the cursor is currently on */
- options results
-
- address 'rexx_ced'
-
- status 55
- string = result /* Get the full line at the cursor pos */
- status 46
- pos = result + 1 /* Get the cursor pos */
- say SUBSTR(string,result,1) /* Show the substring */
-
-
- > Is there a better way? Anyone know why ASDG doesn't want to
- > make this value (which is sitting there on the status line)
- > available to AREXX?
-
- I haven't heard about ASDG & CygnusSoft Software for a long time.
- I currently have CygnusEd v2.12 and, IMO, it's better than
- TurboText. I've heard about INNOVATRONICS developping a wonderful
- editor, hope it'll be as good as CygnusEd without it's minor bugs.
- I really need a superfast editor, not an unuseable AGA/256 col.
- one.
-
- > BTW CED Pro with AREXX is incredible for my type of work--
- > textbases which get moved back and forth across different
- > platforms etc...It's (almost) a completely programmable
- > text editor...
-
- I agree. And I laugh on the PC when I have to use Borland's Turbo-C
- editor, or even better, the Q-Ed (Quick Editor).
-
- Sincerely,
- -- Philippe
-
- /------------------------------------------------------------------------------\
- | Philippe Berard (French Amiga User) | |
- | "They hold a cup of wisdom, | amipb@amipb.gna.org |
- | But there is nothing within" (Kate Bush). | |
- \------------------------------------------------------------------------------/
-