File and Directory Functions
| CHDIR | Defines the current default directory (Statement). |
| CHDRIVE | Defines the current default drive (Statement). |
| CLOSE | Closes a text file (Statement). |
| CURDIR | Returns the current path of a given drive (Function) (String). |
| DIR | Returns the name of a file or directory matching a pattern or attribute (Function) (String). |
| EOF | Returns the boolean value indicating if the end of a file has been reached (Function) (Boolean). |
| FILEATTR | Returns the file mode of the specified file (Function) (Long). |
| FILECOPY | Copies a file from one directory to another (Statement). |
| FILEDATETIME | Returns the date and time when a file was created or last modified (Function) (Date). |
| FILELEN | Returns the length of a file in bytes (Function) (Long). |
| FREEFILE | Returns the next valid free file number (Function) (Integer). |
| GET | Reads data from an open file into a variable (Statement). |
| GETATTR | Returns the attributes of a given file or directory (Function) (Integer). |
| INPUT - Function | Returns the open stream of an Input or Binary file (Function) (String). |
| INPUT - Statement | Reads data from a file and assigns it to variables (Statement). |
| KILL | Deletes an existing file (Statement). |
| LINE INPUT | Reads a single line from an Open sequential file and assigns it to a string (Statement). |
| LOC | Returns the current read/write position within an open file (Function) (Long). |
| LOCK | Controls reads to a file (Statement). |
| LOF | Returns the size of an open file, in bytes (Function) (Long). |
| MKDIR | Creates a new directory (Statement). |
| NAME | Renames an existing file or directory (Statement). |
| OPEN | Opens a text file (Statement). |
| Writes display formatted data to a sequential file (Statement). | |
| PUT | Writes data from a variable to a file (Statement). |
| RESET | Closes all files open with the Open statement (Statement). |
| RMDIR | Removes an existing directory (Statement). |
| SEEK | Returns the current read/write position within a file opened using the Open statement (Function) (Long). |
| SEEK | Repositions where the next operation will occur (Statement). |
| SETATTR | Defines the attributes of a file or directory (Statement). |
| SPC | displaying text using the Print # statement (Function). |
| TAB | Used with the Print # statement or the Print method to position output (Function). |
| UNLOCK | Controls access to a file (Statement). |
| WIDTH | Assigns an output line width (characters) for the open file associated with the filenumber (Statement). |
| WRITE | Writes data to a sequential file (Statement). |
| CHDIR Defines the current default directory (Statement). |
| CHDRIVE Defines the current default drive (Statement). |
| CLOSE Closes a text file (Statement). |
| CURDIR Returns the current path of a given drive (Function) (String). |
| DIR Returns the name of a file or directory matching a pattern or attribute (Function) (String). |
| EOF Returns the boolean value indicating if the end of a file has been reached (Function) (Boolean). |
| FILEATTR Returns the file mode of the specified file (Function) (Long). |
| FILECOPY Copies a file from one directory to another (Statement). |
| FILEDATETIME Returns the date and time when a file was created or last modified (Function) (Date). |
| FILELEN Returns the length of a file in bytes (Function) (Long). |
| FREEFILE Returns the next valid free file number (Function) (Integer). |
| GET Reads data from an open file into a variable (Statement). |
| GETATTR Returns the attributes of a given file or directory (Function) (Integer). |
| INPUT - Function Returns the open stream of an Input or Binary file (Function) (String). |
| INPUT - Statement Reads data from a file and assigns it to variables (Statement). |
| KILL Deletes an existing file (Statement). |
| LINE INPUT Reads a single line from an Open sequential file and assigns it to a string (Statement). |
| LOC Returns the current read/write position within an open file (Function) (Long). |
| LOCK Controls reads to a file (Statement). |
| LOF Returns the size of an open file, in bytes (Function) (Long). |
| MKDIR Creates a new directory (Statement). |
| NAME Renames an existing file or directory (Statement). |
| OPEN Opens a text file (Statement). |
| PRINT Writes display formatted data to a sequential file (Statement). |
| PUT Writes data from a variable to a file (Statement). |
| RESET Closes all files open with the Open statement (Statement). |
| RMDIR Removes an existing directory (Statement). |
| SEEK Returns the current read/write position within a file opened using the Open statement (Function) (Long). |
| SEEK Repositions where the next operation will occur (Statement). |
| SETATTR Defines the attributes of a file or directory (Statement). |
| SPC displaying text using the Print # statement (Function). |
| TAB Used with the Print # statement or the Print method to position output (Function). |
| UNLOCK Controls access to a file (Statement). |
| WIDTH Assigns an output line width (characters) for the open file associated with the filenumber (Statement). |
| WRITE Writes data to a sequential file (Statement). |
© 2025 Better Solutions Limited. All Rights Reserved. © 2025 Better Solutions Limited TopPrevNext