Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ada.directories [2012/02/01 10:29]
thomaslocke [Exists]
ada.directories [2012/02/01 10:31] (current)
thomaslocke [Start_Search]
Line 945: Line 945:
 //Kind// honors the current default directory, just as all the other functions and procedures of //​Ada.Directories//​. //​Name_Error//​ is raised if the given //Name// parameter is invalid. //Kind// honors the current default directory, just as all the other functions and procedures of //​Ada.Directories//​. //​Name_Error//​ is raised if the given //Name// parameter is invalid.
  
-[[Ada.Directories.Kind|Example Source]]+[[Ada.Directories.Kind|Ada.Directories.Kind ​Example Source]]
  
 ==== Size ==== ==== Size ====
Line 975: Line 975:
 The usual //​Name_Error//​ exception applies to //Size// and you will also find a //​Constraint_Error//​ if the file size is not of type //​File_Size//,​ ie. it is either lower than 0 or higher than //​Long_Long_Integer'​Last//​. The usual //​Name_Error//​ exception applies to //Size// and you will also find a //​Constraint_Error//​ if the file size is not of type //​File_Size//,​ ie. it is either lower than 0 or higher than //​Long_Long_Integer'​Last//​.
  
-[[Ada.Directories.Size|Example Source]]+[[Ada.Directories.Size|Ada.Directories.Size ​Example Source]]
  
 ==== Modification_Time ==== ==== Modification_Time ====
Line 1010: Line 1010:
 The usual //​Name_Error//​ is raised if the file is invalid and a //​Use_Error//​ is raised if the environment doesn'​t support the notion of modification time on a file. The usual //​Name_Error//​ is raised if the file is invalid and a //​Use_Error//​ is raised if the environment doesn'​t support the notion of modification time on a file.
  
-[[Ada.Directories.Modification_Time|Example Source]]+[[Ada.Directories.Modification_Time|Ada.Directories.Modification_Time ​Example Source]]
  
 ===== Directory Searching ===== ===== Directory Searching =====
Line 1211: Line 1211:
 The //Search// procedure accepts almost the same parameters as //​Start_Search//,​ except that we have //Process// instead of //Search//. //Process// is of course access to the subprogram that is to handle each item returned by the search. This subprogram must accept one parameter: //Item : in Directory_Entry_Type//​. The //Search// procedure accepts almost the same parameters as //​Start_Search//,​ except that we have //Process// instead of //Search//. //Process// is of course access to the subprogram that is to handle each item returned by the search. This subprogram must accept one parameter: //Item : in Directory_Entry_Type//​.
  
-[[Ada.Directories.Start_Search|Example Source]]+[[Ada.Directories.Start_Search|Ada.Directories.Start_Search ​Example Source]]
  
 ==== End_Search ==== ==== End_Search ====

Navigation