Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!rutgers!apple!vsi1!ubvax!ardent!ez!rap From: rap@ez.ardent.com (Rob Peck) Newsgroups: comp.sys.amiga Subject: Re: More Basic questions Message-ID: <6877@ardent.UUCP> Date: 8 Jun 89 23:42:40 GMT References: <17169@louie.udel.EDU> Sender: news@ardent.UUCP Reply-To: rap@ez.ardent.com (Rob Peck) Organization: Ardent Computer Corp., Sunnyvale, CA Lines: 23 In article <17169@louie.udel.EDU> jwhitman@st-louis-emh2.army.mil (Jerry Whitman) writes: >1. ENHANCED TEXT - It has been recommended that I utilize the appropriate >escape sequences for bold, italic, inverse, etc to enhance text. I can get >these to work just fine from CLI or Shell, but when I 'PRINT' the same >sequence from Basic I get the escape sequence displayed as text. How do I >get Basic to put out the escape sequence as an escape sequence rather than >text? I have tried a couple variants of the stream, including using the >actual escape (ASCII 27), but with no success. I am probably overlooking >something fundamental! As I remember when Amiga Basic was created, we discovered that the PRINT command filtered the output and thus gives the result you have noticed. Your best bet, therefore, is to send out system commands (I don't use BASIC, so I forget which command it is) to ask AmigaDOS to "TYPE filename" where filename is a file that contains the string, with escape sequences, that you want to direct to your CLI/SHELL/Con if that is indeed possible from within BASIC. The main point, though, is the filtering... i.e., "ya can't get thar from here". Rob Peck