|
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: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Std_Char, seg_02ebc0
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
package body Std_Char is subtype Hi_Char is Character range 'A' .. 'Z'; subtype Low_Char is Character range 'a' .. 'z'; subtype Digit is Character range '0' .. '9'; function Is_Alpha (Item : in Character) return Boolean is begin if ((Item in Low_Char) or (Item in Hi_Char) or (Item = '_')) then return True; else return False; end if; end Is_Alpha; function Is_Digit (Item : in Character) return Boolean is begin if (Item in Digit) then return True; else return False; end if; end Is_Digit; function Is_Upper (Item : in Character) return Boolean is begin if (Item in Hi_Char) then return True; else return False; end if; end Is_Upper; function Is_Lower (Item : in Character) return Boolean is begin if (Item in Low_Char) then return True; else return False; end if; end Is_Lower; procedure To_Upper (Item : in out Character) is begin if (Item in Low_Char) then Item := Character'Val (Character'Pos (Item) + Character'Pos ('A') - Character'Pos ('a')); end if; end To_Upper; procedure To_Lower (Item : in out Character) is begin if (Item in Hi_Char) then Item := Character'Val (Character'Pos (Item) + Character'Pos ('a') - Character'Pos ('A')); end if; end To_Lower; end Std_Char;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=26 rec1=00 rec2=01 rec3=006 [0x01] rec0=16 rec1=00 rec2=02 rec3=001 tail 0x217278d9e8485813a8c9b 0x42a00088462060003