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 - download
Index: ┃ T V

⟦25dc7906c⟧ TextFile

    Length: 1394 (0x572)
    Types: TextFile
    Names: »V«

Derivation

└─⟦149519bd4⟧ Bits:30000546 8mm tape, Rational 1000, !projects 93-07-13
    └─ ⟦124ff5788⟧ »DATA« 
        └─⟦this⟧ 
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 
└─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16
    └─ ⟦6f12a12be⟧ »DATA« 
        └─⟦this⟧ 
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
    └─ ⟦d65440be7⟧ »DATA« 
        └─⟦this⟧ 

TextFile

-------------------------------------------------------------------------------
package String_Run is


    type Iterator is private;

    procedure Init (Iter : in out Iterator; With_String : String);

    function Next_Done (Iter : Iterator) return Boolean;
    function Done      (Iter : Iterator) return Boolean;

    function Next_Value    (Iter : Iterator)                  return Character;
    function Value         (Iter : Iterator)                  return Character;
    function Current_Index (Iter : Iterator)                  return Natural;
    function Cut           (Iter : Iterator; Index : Natural) return String;
    function Rest          (Iter : Iterator)                  return String;

    procedure Next     (Iter : in out Iterator);
    procedure Previous (Iter : in out Iterator);

-------------------------------------------------------------------------------
private

    subtype Index_Range is Natural range 0 .. 500;

    type Object (First : Index_Range := 1; Last : Index_Range := 20) is
        record
            String : Standard.String (First .. Last) := (others => ' ');
        end record;

    type Iterator is
        record
            Last       : Index_Range;
            Index      : Index_Range;
            The_Object : Object;
        end record;

end String_Run;
-------------------------------------------------------------------------------