|
|
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 - metrics - download
Length: 499 (0x1f3)
Types: TextFile
Names: »B«
└─⟦25882cbde⟧ Bits:30000536 8mm tape, Rational 1000, RCI_RS6000_AIX_IBM 2_0_2
└─⟦b8efda8ac⟧ »DATA«
└─⟦7061b4ee8⟧
└─⟦this⟧
separate (Batch_Extensions_Support)
function Is_Main_Program (Unit : Directory.Object) return Boolean is
-- Returns true if given unit is a main program
Name : constant String := Naming.Unique_Full_Name (Unit);
Iter : Naming.Iterator;
begin
Iter := Du.Get_Objects (Name & "'c(main_body)", Profile.Get);
if Naming."=" (Iter, Naming.Nil) then
return False;
else
return True;
end if;
exception
when others =>
return False;
end Is_Main_Program;