Name | Summary | Category |
file_defaultEncoding | The [file_defaultEncoding] constant returns the default file encoding for Lasso. The default file encoding for Lasso is UTF-8. |
File |
file_copyBufferSize | The [file_copyBufferSize] constant returns the default byte buffer size Lasso uses when copying files. | File |
file->readBytes | The [file->readBytes] method returns the entire contents of the file referenced by the [file] object's path as a byte stream. | File |
file->readstring | The [file->readString] method reads string data from a file. If a character set has been set using [file->setEncoding] then that character set is used to translate data from the file into... | File |
file->path | The [file->path] method returns the value stored in the [file] object's path data member. This may not be the full path to the file since the [file] object can take both relative paths and... | File |
file->openRead | The [file->openRead] method can be called on a [file] object to open a file for reading only. If a path is already stored in the [file] object, it can be called with no parameters. It can also be... | File |
file->openWrite | The [file->openWrite] method can be called on a [file] object to open a file for reading and writing. If a path is already stored in the [file] object, it can be called with no... | File |
file->openWriteOnly | The [file->openWriteOnly] method can be called on a [file] object to open a file for writing only. If a path is already stored in the [file] object, it can be called with no... | File |
file->openAppend | The [file->openAppend] method can be called on a [file] object to open a file for appending and reading the file. If a path is already stored in the [file] object, it can be called with no... | File |
file->openTruncate | The [file->openTruncate] method can be called on a [file] object to open a file for truncating and writing. If a path is already stored in the [file] object, it can be called with no parameters.... | File |
file->writeBytes | The [file->writeBytes] method takes in a [bytes] object and writes those bytes to the file referenced in the [file] object's path. There are two optional parameters that can be passed to... | File |
file->setsize | Sets the size of the file. Requires an interger parameter that specifies the size of the file (in bytes). | File |
file->readSomeBytes | No description available. | File |
file->size | Returns size of the file in bytes. | File |
file->position | Returns the current file position. Defaults to 0 if not previous file operations have been performed. | File |
file->setmarker | [File->SetMarker] set the location of the current marker within the file. The marker location can be returned using [File->Marker]. | File |
file->setposition | Sets the position of the files read/write marker. Requires an integer line or character position (depending on the read mode) as a parameter. All subsequent reads and writes will occur at the given... | File |
file->setmode | Sets the file read mode for the connection. This can be File_ModeLine for reading a file line by line, or File_ModeChar for reading a file character by character. Defaults to File_ModeChar if not... | File |
file->realpath | The [file->realPath] method is a private method that returns the full path to a file. If it is called without a parameter, it returns the full path based on the path stored in the [file] object... | File |
file->openWith | The [file->openWith] method is a private method that is used to open a file for a [file] object. It takes two parameters, the first is the mode to use when opening the file and the second is a... | File |
file->unlock | No description available. | File |
file->tryLock | No description available. | File |
file->testLock | No description available. | File |
File_CurrentError | [File_CurrentError] reports the last error reported by a file tag. Accepts an optional keyword -ErrorCode that returns the error code rather than the error message. Included for backwards... | Error |
File_Exists | [File_Exists] returns True if the file or directory exists. Accepts one parameter, the name of the file or directory to be inspected. The file tags are protected by four different permissions.... | File |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft