delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/13/17:16:20

From: davem2 AT ma DOT ultranet DOT com (Maranhao)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ANSI
Date: Sat, 13 Dec 1997 17:30:21 GMT
Organization: UltraNet Communications, Inc. http://www.ultranet.com/
Lines: 25
Message-ID: <3492c549.4958891@news.ma.ultranet.com>
References: <01bd07eb$1e978f40$659ab0cf AT mfs001>
NNTP-Posting-Host: d55.dial-2.met.ma.ultra.net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On 13 Dec 1997 17:18:57 GMT, "Lint" <donbrearley AT yahoo DOT com> wrote:

>
>Hello all..
>
>Here is my problem! :)
>I am storing an ANSI graphic (.ANS) file in a Datafile called PURG.DAT as
>Binary Data because I didnt know what else to classify it as. Its called
>INTRO in the data file.
>
>I am wondering how to call INTRO from the datafile and display it on the
>screen.
>
>Any help would be appreicated.
>Especialy sample code :)
>
>Thanks again!
>-Don Brearley
>

ANSI Graphics aren't stored as Binary data, it's just plain text w/
ansi esc sequences.  You can display the file just like you would a
normal text file.  You need the line DEVICE=ANSI.SYS in your
config.sys file or the computer won't know how to interpret the esc
codes..   

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019