File and path functions

This page is generated automatically from the interpreter function registry and grouped by practical use.

Page map

File and path functions 59

IO.ABS_PATH

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.ABS_PATH(path)

Returns the absolute version of a path.

Minimal example

value = IO.ABS_PATH(path)

IO.APPEND_TEXT

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.APPEND_TEXT(path,text)

Appends UTF-8 text to a file and returns TRUE on success.

Minimal example

value = IO.APPEND_TEXT(path,text)

IO.BASE_NAME

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.BASE_NAME(path)

File name without the final extension.

Minimal example

value = IO.BASE_NAME(path)

IO.CAMERA_GET

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.CAMERA_GET cameraIndex, property AS value

Reads an OpenCV VideoCapture property and assigns the numeric value.

Minimal example

IO.CAMERA_GET 0, FPS AS fps
PRINT fps

IO.CAMERA_IS_OPEN

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.CAMERA_IS_OPEN([cameraIndex])

Returns TRUE when the selected camera index is currently open inside the script runtime.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
cameraIndexOptional parameter. If omitted, the command uses its internal default.

Minimal example

PRINT IO.CAMERA_IS_OPEN(0)

IO.CAMERA_PROP_ID

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.CAMERA_PROP_ID(property)

Returns the numeric OpenCV CAP_PROP id for a known friendly property name, or -1 if unknown.

Minimal example

PRINT IO.CAMERA_PROP_ID("EXPOSURE")

IO.CAMERA_PROPS

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.CAMERA_PROPS [cameraIndex] AS table

Returns a diagnostic table with columns: name, OpenCV property id, current value, writable flag.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
cameraIndexOptional parameter. If omitted, the command uses its internal default.

Minimal example

IO.CAMERA_PROPS 0 AS props
PRINT ARRAY.DIMSIZE(props, 0)

IO.CANONICAL_PATH

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.CANONICAL_PATH(path)

Returns the canonical existing path with symlinks resolved when possible.

Minimal example

value = IO.CANONICAL_PATH(path)

IO.CLEAR_ERROR

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.CLEAR_ERROR()

Clears the stored non-fatal runtime error and returns TRUE.

Minimal example

ok = IO.CLEAR_ERROR()

IO.COPY_FILE

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.COPY_FILE(source,target[,overwrite])

Copies a file and returns TRUE on success.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
overwriteOptional parameter. If omitted, the command uses its internal default.

Minimal example

value = IO.COPY_FILE(source,target[,overwrite])

IO.CSV_COLS

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.CSV_COLS(path [, header [, delimiter]])

Returns the number of columns in a CSV/text table.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
headerCSV header policy, usually AUTO, TRUE or FALSE.
delimiterCSV delimiter override; omit it for auto-detection where supported.

Minimal example

n = IO.CSV_COLS("measurements.csv")

IO.CSV_COLUMN

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.CSV_COLUMN(path, field [, header [, delimiter]])

Returns one selected CSV column as newline-separated text. The selector may be a header name or a zero-based index.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
headerCSV header policy, usually AUTO, TRUE or FALSE.
delimiterCSV delimiter override; omit it for auto-detection where supported.

Minimal example

values = IO.CSV_COLUMN("measurements.csv", "temperature")

IO.CSV_COLUMN_ARRAY

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.CSV_COLUMN_ARRAY(path, field [, header [, numeric [, delimiter]]])

Loads a selected CSV column into a script array. Pass numeric=TRUE to force numeric conversion.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
headerCSV header policy, usually AUTO, TRUE or FALSE.
numericWhen true, forces numeric conversion of CSV values.
delimiterCSV delimiter override; omit it for auto-detection where supported.

Minimal example

temps = IO.CSV_COLUMN_ARRAY("measurements.csv", "temperature", "AUTO", TRUE)

IO.CSV_FIELD

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.CSV_FIELD(path, row, field [, header [, delimiter]])

Returns one CSV cell as text. The field selector may be a header name or a zero-based column index.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
headerCSV header policy, usually AUTO, TRUE or FALSE.
delimiterCSV delimiter override; omit it for auto-detection where supported.

Minimal example

v = IO.CSV_FIELD("measurements.csv", 0, "temperature")

IO.CSV_HEADERS

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.CSV_HEADERS(path [, header [, delimiter]])

Returns available CSV field names as newline-separated text. If no header exists, synthetic Column N names are returned.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
headerCSV header policy, usually AUTO, TRUE or FALSE.
delimiterCSV delimiter override; omit it for auto-detection where supported.

Minimal example

PRINT IO.CSV_HEADERS("measurements.csv")

IO.CSV_INFO

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.CSV_INFO(path [, header [, delimiter]])

Analyzes and loads a CSV/text table using auto-detected delimiter and header by default, then returns a diagnostic text summary.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
headerCSV header policy, usually AUTO, TRUE or FALSE.
delimiterCSV delimiter override; omit it for auto-detection where supported.

Minimal example

PRINT IO.CSV_INFO("measurements.csv")

IO.CSV_NUMBER

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.CSV_NUMBER(path, row, field [, header [, delimiter]])

Returns one CSV cell parsed as a flexible number, supporting decimal comma and decimal point.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
headerCSV header policy, usually AUTO, TRUE or FALSE.
delimiterCSV delimiter override; omit it for auto-detection where supported.

Minimal example

t = IO.CSV_NUMBER("measurements.csv", 0, "temperature")

IO.CSV_ROWS

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.CSV_ROWS(path [, header [, delimiter]])

Returns the number of data rows in a CSV/text table.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
headerCSV header policy, usually AUTO, TRUE or FALSE.
delimiterCSV delimiter override; omit it for auto-detection where supported.

Minimal example

n = IO.CSV_ROWS("measurements.csv")

IO.CSV_TABLE_ARRAY

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.CSV_TABLE_ARRAY(path [, header [, numeric [, delimiter]]])

Loads the whole CSV data table into a two-dimensional script array.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
headerCSV header policy, usually AUTO, TRUE or FALSE.
numericWhen true, forces numeric conversion of CSV values.
delimiterCSV delimiter override; omit it for auto-detection where supported.

Minimal example

table = IO.CSV_TABLE_ARRAY("measurements.csv", "AUTO", TRUE)

IO.CURRENT_DIR

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.CURRENT_DIR()

Returns the current working directory.

Minimal example

value = IO.CURRENT_DIR()

IO.DIR_EXISTS

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.DIR_EXISTS(path)

TRUE if a path exists and is a directory.

Minimal example

value = IO.DIR_EXISTS(path)

IO.DIR_LIST

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.DIR_LIST(path[,pattern[,mode]])

Returns a newline-separated directory listing.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
patternOptional parameter. If omitted, the command uses its internal default.
modeMode selector; accepted values are described in the command text.

Minimal example

value = IO.DIR_LIST(path[,pattern[,mode]])

IO.DIR_NAME

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.DIR_NAME(path)

Parent directory component of a path.

Minimal example

value = IO.DIR_NAME(path)

IO.EXT

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.EXT(path)

Final file extension without the dot.

Minimal example

value = IO.EXT(path)

IO.FCLOSE

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.FCLOSE(handle)

Closes a file handle and returns TRUE on success.

Minimal example

value = IO.FCLOSE(handle)

IO.FEOF

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.FEOF(handle)

Returns TRUE when the file handle is invalid or at end-of-file.

Minimal example

value = IO.FEOF(handle)

IO.FFLUSH

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.FFLUSH(handle)

Flushes pending writes on an open file handle.

Minimal example

value = IO.FFLUSH(handle)

IO.FILE_EXISTS

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.FILE_EXISTS(path)

TRUE if a path exists and is a file.

Minimal example

value = IO.FILE_EXISTS(path)

IO.FILE_NAME

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.FILE_NAME(path)

Final file or directory name component.

Minimal example

value = IO.FILE_NAME(path)

IO.FILE_SIZE

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.FILE_SIZE(path)

Size in bytes, or -1 when unavailable.

Minimal example

value = IO.FILE_SIZE(path)

IO.FOPEN

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.FOPEN(path[,mode])

Opens a file and returns a numeric runtime handle. Modes follow fopen-style strings such as r, w, a, rb, wb, r+, w+.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
modeMode selector; accepted values are described in the command text.

Minimal example

value = IO.FOPEN(path[,mode])

IO.FPRINTF

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.FPRINTF(handle,format[,v1[,v2...v8]])

Writes formatted text to an open file handle using simple %s, %d, %f, %g placeholders.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
v1Optional parameter. If omitted, the command uses its internal default.
v2Optional parameter. If omitted, the command uses its internal default.
v8Optional parameter. If omitted, the command uses its internal default.

Minimal example

value = IO.FPRINTF(handle,format[,v1[,v2...v8]])

IO.FREAD

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.FREAD(handle,byteCount)

Reads a byte block from an open file handle and returns it as text.

Minimal example

value = IO.FREAD(handle,byteCount)

IO.FREADLINE

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.FREADLINE(handle)

Reads one text line from an open file handle without the trailing newline.

Minimal example

value = IO.FREADLINE(handle)

IO.FSCANF

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.FSCANF(handle[,format])

Reads the next whitespace-separated token, optionally converting it using %s, %d, %f or %g.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
formatOptional parameter. If omitted, the command uses its internal default.

Minimal example

value = IO.FSCANF(handle[,format])

IO.FSEEK

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.FSEEK(handle,offset[,origin])

Moves the current file position. Origin can be SET, CUR or END.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
originOptional parameter. If omitted, the command uses its internal default.

Minimal example

value = IO.FSEEK(handle,offset[,origin])

IO.FTELL

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.FTELL(handle)

Returns the current byte position of an open file handle.

Minimal example

value = IO.FTELL(handle)

IO.FWRITE

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.FWRITE(handle,value)

Writes text/raw UTF-8 bytes to an open file handle and returns the number of bytes written.

Minimal example

value = IO.FWRITE(handle,value)

IO.HOME_DIR

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.HOME_DIR()

Returns the user's home directory.

Minimal example

value = IO.HOME_DIR()

IO.IS_ABSOLUTE

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.IS_ABSOLUTE(path)

TRUE if the path is absolute.

Minimal example

value = IO.IS_ABSOLUTE(path)

IO.LAST_ERROR

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.LAST_ERROR()

Returns the last non-fatal runtime error text, currently set by IO.TRY_LOAD and IO.TRY_LOAD_WITH_META.

Minimal example

PRINT IO.LAST_ERROR()

IO.LAST_ERROR_LINE

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.LAST_ERROR_LINE()

Returns the source line associated with IO.LAST_ERROR(), or -1 when unavailable.

Minimal example

PRINT IO.LAST_ERROR_LINE()

IO.LOAD_WITH_META

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.LOAD_WITH_META path AS image

Loads an image/stack and applies the optional path.cvbmeta sidecar when present.

Minimal example

IO.LOAD_WITH_META "out.png" AS img2

IO.META_PATH

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.META_PATH(mediaPath)

Returns the metadata sidecar path used by IO.SAVE_WITH_META.

Minimal example

sidecar = IO.META_PATH("out.png")

IO.MKDIR

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.MKDIR(path)

Creates a single directory level and returns TRUE on success.

Minimal example

value = IO.MKDIR(path)

IO.MKPATH

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.MKPATH(path)

Creates a directory tree and returns TRUE on success.

Minimal example

value = IO.MKPATH(path)

IO.MOVE_FILE

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.MOVE_FILE(source,target[,overwrite])

Moves or renames a file and returns TRUE on success.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
overwriteOptional parameter. If omitted, the command uses its internal default.

Minimal example

value = IO.MOVE_FILE(source,target[,overwrite])

IO.PATH_EXISTS

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.PATH_EXISTS(path)

TRUE if a path exists.

Minimal example

value = IO.PATH_EXISTS(path)

IO.PATH_JOIN

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.PATH_JOIN(base,child)

Joins a base path and a child component.

Minimal example

value = IO.PATH_JOIN(base,child)

IO.READ_CSV_ARRAY

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.READ_CSV_ARRAY(path [, numeric [, delimiter]])

Reads a CSV written by IO.WRITE_CSV_ARRAY, preserving 1D/2D shape when the #CVB_ARRAY header is present.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
numericWhen true, forces numeric conversion of CSV values.
delimiterCSV delimiter override; omit it for auto-detection where supported.

Minimal example

b = IO.READ_CSV_ARRAY("array.csv", TRUE)

IO.READ_TEXT

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.READ_TEXT(path)

Reads a text file as UTF-8, returning an empty string on failure.

Minimal example

value = IO.READ_TEXT(path)

IO.REMOVE_DIR

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.REMOVE_DIR(path)

Removes an empty directory and returns TRUE on success.

Minimal example

value = IO.REMOVE_DIR(path)

IO.REMOVE_DIR_TREE

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.REMOVE_DIR_TREE(path)

Removes a directory tree recursively and returns TRUE on success.

Minimal example

value = IO.REMOVE_DIR_TREE(path)

IO.REMOVE_FILE

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.REMOVE_FILE(path)

Deletes a file and returns TRUE on success.

Minimal example

value = IO.REMOVE_FILE(path)

IO.TEMP_DIR

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.TEMP_DIR()

Returns the system temporary directory.

Minimal example

value = IO.TEMP_DIR()

IO.TRY_LOAD

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.TRY_LOAD path AS image

Loads an image/stack/video without stopping the script on failure. On failure the destination becomes NULL and IO.LAST_ERROR() contains the reason.

Minimal example

IO.TRY_LOAD "input.png" AS img
IF NOT CV.IS_VALID(img) THEN
    PRINT "Load failed: "; IO.LAST_ERROR()
    EXIT
ENDIF

IO.TRY_LOAD_WITH_META

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.TRY_LOAD_WITH_META path AS image

Non-fatal variant of IO.LOAD_WITH_META. It restores metadata when possible, otherwise stores the reason in IO.LAST_ERROR().

Minimal example

IO.TRY_LOAD_WITH_META "out.png" AS img2
ASSERT CV.IS_VALID(img2), IO.LAST_ERROR()

IO.WRITE_CSV_ARRAY

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.WRITE_CSV_ARRAY(path, array [, delimiter])

Writes a 1D/2D array to CSV with a small #CVB_ARRAY shape header and returns TRUE.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
delimiterCSV delimiter override; omit it for auto-detection where supported.

Minimal example

ok = IO.WRITE_CSV_ARRAY("array.csv", a)

IO.WRITE_TEXT

FUNCTIONIOBATCH-FRIENDLYFILE I/O
Kind: Function   Category: File and path functions   Namespace: IO

IO.WRITE_TEXT(path,text)

Writes UTF-8 text to a file and returns TRUE on success.

Minimal example

value = IO.WRITE_TEXT(path,text)