DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

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 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: B T

⟦6755114b0⟧ TextFile

    Length: 899 (0x383)
    Types: TextFile
    Names: »B«

Derivation

└─⟦180fe333a⟧ Bits:30000405 8mm tape, Rational 1000, SW CATALOG, 10_20_0
└─⟦180fe333a⟧ Bits:30000537 8mm tape, Rational 1000, SW Catalog 10_20_0
    └─⟦5cb1d1d7f⟧ »DATA« 
        └─⟦3b1ee7bd8⟧ 
            └─⟦this⟧ 

TextFile

with Text_Io;
use Text_Io;
package body Data_Pkg is

    package Quote_Io is new Enumeration_Io (Act_Phase_Char_Set);
    use Quote_Io;

    function Convert (Char : Character) return Act_Phase_Char_Set is
        Astring : String (1 .. 3) := "' '";
        Quote_Char : Act_Phase_Char_Set := ' ';
        Dumb : Integer := 1;  -- returns the number of the last char read
    begin
        Astring (2) := Char;
        -- read astring and return the enumeration value in quote_char
        Get (Astring, Quote_Char, Dumb);
        return Quote_Char;
    end Convert;

    function Convert (Quote_Char : Act_Phase_Char_Set) return Character is
        Astring : String (1 .. 3) := "' '";
        Char : Character := ' ';
    begin
        -- output the value of quote_char to astring
        Put (Astring, Quote_Char);
        Char := Astring (2);
        return Char;
    end Convert;

end Data_Pkg;