|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 1727 (0x6bf) Types: TextFile Notes: R1k Text-file segment
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦cae92608c⟧ └─⟦this⟧
procedure Demo (Display : String := "aconit:0"); \f with Xlbt_Arithmetic; use Xlbt_Arithmetic; package Easy_X is type Events is (Update, Button_Up, Button_Down); type Fonts is (Small_Font, Medium_Font, Large_Font); subtype Coordinate is S_Short; subtype Dimension is U_Short_Positive; procedure Open (Display : String; Title : String := "Easy_X"; Left, Right : Coordinate := 100; Width, Height : Dimension := 800); procedure Move_To (X, Y : Coordinate); procedure Line_To (X, Y : Coordinate); procedure Set_Pen (Size : Dimension); procedure Set_Font (To : Fonts); procedure Draw_String (The_String : String); function Next_Event return Events; procedure Close; package Arithmetic is function "+" (C : Coordinate; D : Dimension) return Coordinate; function "-" (C : Coordinate; D : Dimension) return Coordinate; function "/" (D : Dimension; Scale : Positive) return Dimension; function "*" (D : Dimension; Scale : Positive) return Dimension; function "+" (D1, D2 : Dimension) return Dimension renames Xlbt_Arithmetic."+"; function "-" (D1, D2 : Dimension) return Dimension renames Xlbt_Arithmetic."-"; end Arithmetic; Fatal_Error, Value_Error : exception; end Easy_X; \f with Easy_X; use Easy_X; package Graphic_Objects is procedure Draw_Line (X1, Y1, X2, Y2 : Coordinate); procedure Draw_Rectangle (X, Y : Coordinate; W, H : Dimension); procedure Draw_Wind_Mill (X, Y : Coordinate; Size : Dimension); procedure Draw_The_Netherlands (Left, Bottom : Coordinate; Width : Dimension); end Graphic_Objects