-
Notifications
You must be signed in to change notification settings - Fork 1
FileCSV
Hyomoto edited this page Oct 17, 2020
·
7 revisions
Jump To | Go Back |
Arguments | Methods | Variables |
---|
Implements: File
no description provided
// no example provided
Name | Type | Purpose |
---|---|---|
filename | string |
the name of the file to open |
read_only? | bool |
optional: whether this file should allow writing to. Default: true |
new? | bool |
optional: whether this file should be blank. Default: false |
Jump To | top |
read | write | writeln | save |
---|
Returns: string ("string"
), or undefined
Name | Type | Purpose |
---|---|---|
None |
Reads the next value in the file, if it exists, otherwise returns undefined
.
Returns: N/A 'undefined`
Name | Type | Purpose |
---|---|---|
values... | mixed |
The values to write to the file |
Writes value
to the end of the file
Returns: N/A 'undefined`
Name | Type | Purpose |
---|---|---|
None |
Starts a new line in the file.
Returns: N/A 'undefined`
Name | Type | Purpose |
---|---|---|
append | bool |
Whether to append or rewrite the file. |
Saves the file to disk. If append is true
, entries will be appended after the last position the file was written from.
Jump To | top |
---|
- writeIndex - none provided
- readIndex - none provided
Devon Mullane 2020