DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦0d5ea605d⟧ TextFile

    Length: 750 (0x2ee)
    Types: TextFile
    Notes: R1k Text-file segment

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦c632644ba⟧ 
            └─⟦this⟧ 

TextFile

with system;			use system;
with file_support;		use file_support;
with text_io;			use text_io;
with unchecked_conversion;
with os_files;

package text_supprt is

	function to_ftype is new unchecked_conversion(file_ptr, file_type);
	function to_fptr is new unchecked_conversion(file_type, file_ptr);

	uc_a		: constant := character'pos('A');
	lc_a		: constant := character'pos('a');
	cnvt_case	: constant := lc_a - uc_a;
	cnvt_digit	: constant := character'pos('0');

	procedure reject_null_file(file: file_type);
	pragma inline(reject_null_file);

	procedure must_be_input(file: file_type);
	pragma inline(must_be_input);

	procedure must_be_output(file: file_type);
	pragma inline(must_be_output);

	procedure skip_blanks_and_lines(fp: file_ptr);
end