jit.textfile
Description
The jit.textfile object maintains a text buffer, into which a text file or matrix can be imported. The buffer can also be edited directly by double-clicking on the object to open an editor window. A to the object causes the text buffer to be sent out the left outlet as a matrix.
Examples

Discussion
In adapt mode, jit.textfile will analyze the file for carriage returns and deduce the probable width and height of the output matrix (always 1 plane 2 dimensional). String matrices can be output using the
message.Matrix Operator
Name | IOProc | Planelink | Typelink | Dimlink | Plane | Dim | Type |
---|---|---|---|---|---|---|---|
out | n/a | 1 | 1 | 1 | 1 | 1 | char |
out2 | n/a | 1 | 1 | 1 | 1 | 1 | char |
More about Matrix Operators
The Jitter MOP
MOP Arguments
MOP Attributes
MOP Messages
Attributes
autoclear [int]
Matrix clear following output flag (default = 1)
defaultdir [symbol]
The default directory for writing files (default = default path)
convert [int]
Convert line breaks flag (default = 1) When the flag is set, UNIX/DOS line breaks are converted to Macintosh format when reading a file from disk.
title [symbol]
Sets the title for the text editor window
Common Box Attributes
Messages
(mouse)
erase
line
Arguments
open
outputline
read
Arguments
wclose
write
Arguments
See Also
Name | Description |
---|---|
jit.fprint | |
jit.matrix | |
text | |
Tutorial 20: Importing and Exporting Single Matrices | Tutorial 20: Importing and Exporting Single Matrices |