www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/15/06:24:17

From: sar AT maties DOT sun DOT ac DOT za
Newsgroups: comp.os.msdos.djgpp
Subject: Inquiry - file insides
Date: Sun, 15 Jun 1997 04:31:39 -0700
Organization: University of Potchefstroom
Lines: 14
Message-ID: <33A3D29B.49C5@maties.sun.ac.za>
Reply-To: sar AT maties DOT sun DOT ac DOT za
NNTP-Posting-Host: k2006b.sool.sun.ac.za
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I recently saved my first file with DJGPP, as a binary type file.
(I'm a green newbie.)
Before my epiphany with DJGPP, I muddled along in TP6. When you defined
a file as type byte or word in Pascal, and examined the file produced,
it had all these strange ASCII symbols in it (type filename.ext).
However, DJGPP seems to save the actual values in its binary files (if
you write "27" you get "27" in the file, not the ASCII table entry for
decimal 27.)
Why is this? Can it cause problems if for instance you write a file with
DJ, but want to read it in Pascal?

Any reply will be appreciated!

Rylan

- Raw text -


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