|
DataMuseum.dkPresents historical artifacts from the history of: CP/M |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about CP/M Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 640 (0x280) Types: TextFile Names: »RNC.SRC«
└─⟦c9df7130d⟧ Bits:30005915 Pascal MT+ Release 5.2 (Jet-80) └─ ⟦this⟧ »RNC.SRC«
MODULE RDNXCH; (*$M @RNC*) (*$M **) (*$I FIBDEF.LIB*) VAR @LFB: EXTERNAL ^FIB; EXTERNAL PROCEDURE GET(VAR F:FIB; SZ:INTEGER); FUNCTION @RNC:CHAR; BEGIN IF @LFB^.OPTION > FRANDOM THEN (* DON'T GIVE BUFFER, BUT READ DIRECTLY *) (* IF CONSOLE/TERMINAL FILE *) BEGIN GET(@LFB^,@LFB^.BUFLEN); @RNC := @LFB^.FBUFFERÆ0Å END ELSE BEGIN @RNC := @LFB^.FBUFFERÆ0Å; (* @RNC := F^ *) GET(@LFB^,@LFB^.BUFLEN); (* GET(F) *) END END; MODEND. «eof»