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

⟦07d3014cf⟧ TextFile

    Length: 3022 (0xbce)
    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_Utilities is

    function Hash_String (S : String) return Integer;

    procedure Upper_Case (C : in out Character);
    procedure Lower_Case (C : in out Character);

    function Upper_Case (C : Character) return Character;
    function Lower_Case (C : Character) return Character;

    procedure Upper_Case (S : in out String);
    procedure Lower_Case (S : in out String);

    -- string returned has same 'First and 'Last as S
    function Upper_Case (S : String) return String;
    function Lower_Case (S : String) return String;



    function Number_To_String (Value : Integer;
                               Base : Natural := 10;
                               Width : Natural := 0;
                               Leading : Character := ' ') return String;

    -- function Number_To_String (Value : Long_Integer;
    --                            Base : Natural := 10;
    --                            Width : Natural := 0;
    --                            Leading : Character := ' ') return String;

    procedure String_To_Number (Source : String;
                                Target : out Integer;
                                Worked : out Boolean;
                                Base : Natural := 10);

    -- procedure String_To_Number (Source : String;
    --                             Target : out Long_Integer;
    --                             Worked : out Boolean;
    --                             Base : Natural := 10);

    function Strip_Leading
                (From : String; Filler : Character := ' ') return String;
    function Strip_Trailing
                (From : String; Filler : Character := ' ') return String;
    function Strip (From : String; Filler : Character := ' ') return String;

    -- Searches and compares
    -- Locate returns the index value in Within if found, 0 otherwise
    function Locate (Fragment : String;
                     Within : String;
                     Ignore_Case : Boolean := False) return Natural;

    function Locate (Fragment : Character;
                     Within : String;
                     Ignore_Case : Boolean := False) return Natural;

    function Reverse_Locate (Fragment : String;
                             Within : String;
                             Ignore_Case : Boolean := False) return Natural;

    function Reverse_Locate (Fragment : Character;
                             Within : String;
                             Ignore_Case : Boolean := False) return Natural;

    function Equal
                (Str1 : String; Str2 : String; Ignore_Case : Boolean := False)
                return Boolean;

    function Less_Than
                (Str1 : String; Str2 : String; Ignore_Case : Boolean := False)
                return Boolean;

    function Greater_Than
                (Str1 : String; Str2 : String; Ignore_Case : Boolean := False)
                return Boolean;

    procedure Capitalize (S : in out String);
    function Capitalize (S : String) return String;

end String_Utilities;