|
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: 2048 (0x800) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Test_Directory, seg_02259d
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Unbounded_String; with Directory; with Text_Io; procedure Test_Directory is Path : constant Directory.Naming.String_Name := "/home/aconit/projects/umps/C"; Path2 : constant Directory.Naming.String_Name := "../prog.c"; Path3 : constant Directory.Naming.String_Name := "program.ada"; Obj1, Obj2 : Directory.Object; Status : Directory.Any_Object.Status; begin Text_Io.Put_Line (Directory.Naming.Extension (Path)); Text_Io.Put_Line (Directory.Naming.Extension (Path2)); Text_Io.Put_Line (Directory.Naming.Extension (Path3)); Directory.Any_Object.Create (Obj1, Path, Status); Text_Io.Put_Line ("Obj1 vaut : " & Directory.Naming.Full_Name (Directory.Traversal.Parent (Obj1))); Directory.Any_Object.Create (Obj2, Path2, Status); Directory.Any_Object.Copy (Obj1, Obj2, Status); Text_Io.Put_Line ("Obj2 vaut : " & Directory.Naming.Full_Name (Obj2)); end Test_Directory;
nblk1=1 nid=0 hdr6=2 [0x00] rec0=18 rec1=00 rec2=01 rec3=000 tail 0x2151da8b683946bca24ad 0x42a00088462060003