File (GNAT Reference Manual) (original) (raw)
Next: Line, Previous: Exception_Name, Up: Intrinsic Subprograms [Contents][Index]
8.9 File ¶
This intrinsic subprogram is used in the implementation of the library package GNAT.Source_Info
. The only useful use of the intrinsic import in this case is the one in this unit, so an application program should simply call the functionGNAT.Source_Info.File
to obtain the name of the current file.