home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gumby!wupost!emory!emory!not-for-mail
- From: walt@mathcs.emory.edu (Walt Hultgren {rmy})
- Newsgroups: comp.databases.informix
- Subject: Re: Escape Characters in 4GL
- Date: 13 Nov 1992 14:34:30 -0500
- Organization: Emory University
- Lines: 21
- Message-ID: <1e1006INN64s@emory.mathcs.emory.edu>
- References: <1992Nov13.183706.2455@hpcvusn.cv.hp.com>
- NNTP-Posting-Host: emory.mathcs.emory.edu
-
- In article <1992Nov13.183706.2455@hpcvusn.cv.hp.com> thaddeus@hpcvusd.cv.hp.com (Thaddeus Konar) writes:
- >Is there a way to send escape characters (non-ascii) from 4GL
-
- You can do something like:
-
- define xc char(6)
- let xc = "[", ASCII 27, "]&jB"
- display xc
-
- The possible problem with this approach is that the DISPLAY statement will
- append a newline to the output. I don't know of a way to disable that at
- the 4GL level. You may have to write a C function callable from 4GL that
- uses one of the variations of putc() or puts().
-
- Walt.
-
- --
- Walt Hultgren Internet: walt@rmy.emory.edu (IP 128.140.8.1)
- Emory University UUCP: {...,gatech,rutgers,uunet}!emory!rmy!walt
- 954 Gatewood Road, NE BITNET: walt@EMORY
- Atlanta, GA 30329 USA Voice: +1 404 727 0648
-