| 
 
 fileOpen
  | 
  The fileOpen function attempts to create or open a file with the specified 
          filename {filename} and type {type} indicated. If no filename is 
         specified, the host will allow the user to select the file.  Usage  The fileOpen function opens an existing file or creates a new file 
        and opens it.
 (fileOpen filename mode type) An Integer file identifier, fileID, is returned.
        
Expression: 
Arguments 
                                           Name 
                                           Type 
                                           Description Argument: filename  Text String 
Optional argument. The name of the file to be opened. This name may include a
           full path specification. Note: On some host systems, if the file name is #void 
           or missing, a user dialog box appears allowing the user to choose the file. Argument: mode Integer  
The mode switch. A value of: (0) requests that only an existing file be opened; (1) indicates that a new file will be created. 
          If a file already exists with this name, it will be destroyed and a new virgin file will 
          be created; (2) valid for database files only, indicates that an existing database
           file be opened for read only transactions shared with other users. Argument: type  Integer 
The file type switch. (0) requests that a text file be opened; (1) requests that a 
          Spreadsheet binary file be opened;(2) requests that a Smarttable binary file   
          be opened; (3) requests that a Workspace binary file be opened; (4) requests that an 
          Object binary file be opened; (5) requests that an Object Database file be opened. 
Returns: 
 
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments.
| ByteVector | Text | Integer | Boolean | 
Here are also a number of links to functions having arguments with any of these data types.
 
 | 
Analytic Information Server (AIS)AIS Component Systems 
  |