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

⟦d4115b03c⟧ Ada Source

    Length: 2048 (0x800)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Box_Display, seg_004678

Derivation

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

E3 Source Code



--| @SUMMARY Allows for the definition and display of labeled boxes
--| on an ascii terminal
--| @INDICES (Window_Io, Graphics)
with Window_Io;
with Bounded_String;
package Box_Display is

    type Box is private;

    function Make (Height : Natural;  
                   Width  : Natural;  
                   Label  : String) return Box;

    function Height (A_Box : Box) return Natural;

    function Width (A_Box : Box) return Natural;

    function Label (On_Box : Box) return String;

    procedure Display (The_Box   : Box;
                       In_Window : Window_Io.File_Type;
                       At_Line   : Window_Io.Line_Number;
                       At_Column : Window_Io.Column_Number);

private
    subtype Var_String is Bounded_String.Variable_String (80);

    type Box is
        record
            Height : Natural;
            Width  : Natural;
            Label  : Var_String;
        end record;

end Box_Display;

E3 Meta Data

    nblk1=1
    nid=0
    hdr6=2
        [0x00] rec0=25 rec1=00 rec2=01 rec3=000
    tail 0x2170028d2815c6675a187 0x42a00088462061e03