DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: ┃ B T ┃
Length: 1149 (0x47d) Types: TextFile Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11 └─ ⟦129cab021⟧ »DATA« └─⟦this⟧
with Serial_Io; package body Letter_Utilities is type Lower_Upper_Tab is array ('a' .. 'z') of Character; type Upper_Lower_Tab is array ('A' .. 'Z') of Character; function Convert_Upper_To_Lower (Car : Character) return Character is Upper_To_Lower_Convert_Tab : constant Upper_Lower_Tab := ('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'); begin if Car in 'A' .. 'Z' then return Upper_To_Lower_Convert_Tab (Car); else return Car; end if; end Convert_Upper_To_Lower; function Convert_Lower_To_Upper (Car : Character) return Character is Lower_To_Upper_Convert_Tab : constant Lower_Upper_Tab := ('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'); begin if Car in 'A' .. 'Z' then return Lower_To_Upper_Convert_Tab (Car); else return Car; end if; end Convert_Lower_To_Upper; end Letter_Utilities;