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: ┃ B T

⟦31485d352⟧ TextFile

    Length: 617 (0x269)
    Types: TextFile
    Names: »B«

Derivation

└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
    └─ ⟦d65440be7⟧ »DATA« 
        └─⟦this⟧ 

TextFile

with Text_Io;
package body Money is
    function "+" (Left, Right : Object) return Object is
    begin
        return Object (Float (Left) + Float (Right));
    end "+";


    function "-" (Left, Right : Object) return Object is
    begin
        return Object (Float (Left) - Float (Right));
    end "-";

    procedure Put (An_Element : Object) is

        package My_Io is new Text_Io.Fixed_Io (Num => Object);
    begin
        My_Io.Put (An_Element);
    end Put;


    function Convert_To_Object (A_Value : Float) return Object is
    begin
        return Object (A_Value);
    end Convert_To_Object;
end Money;