TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: KURT KUZBA
from: Robin Sheppard
date: 1998-09-27 16:07:00
subject: Newline Character

RS>   I can't make any guarantees that a newline is always
 RS>   ASCII 10 on all systems, but I think that's standard C.

 KK> We can't be sure what tab, carriage return, line feed, or
 KK> alarm will be on any system. They are defined individually
 KK> by each compiler according to its environment.
 KK> We only see the '\t', '\r', '\n', and '\a' standard values.
 KK> What the compiler sees is not relevant until we want to
 KK> handle the data produced by the use of these characters,
 KK> such as when manually interpreting a text file produced by
 KK> use of these characters.

   If a system uses ASCII (and all modern personal computers do), then 
   we can be sure the low 128 characters will be standardized.  My 
   question was more about whether a newline (C terminology) was 
   necessarily a linefeed (ASCII terminology).  I believe this is the 
   case, but I'm not 100% certain.
   
... "Isn't that cute?  It's breaking its teeth!"  -Ajax
___ Blue Wave/DOS v2.30 [NR]

--- EzyQwk V1.48g0 01fa0167
* Origin: Milky Way, Langley, BC [604] 532-4367 (1:153/307)
SEEN-BY: 396/1 632/0 371 633/260 267 270 371 634/397 635/506 728 810 639/252
SEEN-BY: 670/218
@PATH: 153/307 8086 800 140/1 12/12 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.