Close File

Closes a reference to an open file to free the resources used by the reference.

Error I/O operates uniquely in this node, which closes the file regardless of whether an error occurred in a preceding operation.

1378

Inputs/Outputs

datatype_icon

refnum

The reference to the file you want to close.

datatype_icon

error in

Error conditions that occur before this node runs.

Unlike most nodes, this node runs normally even if an error occurs before this node runs.

Standard Error Behavior

Default value: no error

datatype_icon

file path

The path corresponding to the file that this node closed.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Programming Patterns