Closed Thread Icon

Preserved Topic: Printing Cr or Lf to file...? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=20599" title="Pages that link to Preserved Topic: Printing Cr or Lf to file...? (Page 1 of 1)" rel="nofollow" >Preserved Topic: Printing Cr or Lf to file...? <span class="small">(Page 1 of 1)</span>\

 
warjournal
Maniac (V) Mad Scientist

From:
Insane since: Aug 2000

posted posted 02-04-2001 13:51

I was working on a prog last week and I came across a problem that I never would have guessed would be a problem.

I'm trying to write to a file hex digits from 00 to FF. Problem is, I can't print or write just 0A or 0D singularly to the file. If I print or write one, the other gets tagged on appropriately. And I've tried it a *ton* of different ways. I've even tried building a string and then printing -- and writing -- that to file, but that's a no go. And For/Next loops are out. Output, binary, it doesn't seem to matter.

I've tried it with Power Basic 3.0 and VB 5.0. Does anyone have any ideas or know if C/C++ can do it?

Wait a minute, I haven't tried records yet. I can't believe I just thought of that. Hmmm... But input will be appreciated.

« BackwardsOnwards »

Show Forum Drop Down Menu