User Tools

Site Tools


en:size

Size (Function)

Format

size
size ( )
size ( open_file_number )

returns integer_expression

Description

Returns the length, in bytes, of an opened file. If the file number is not specified file number zero (0) will be used.

For a serial port, size returns the number of bytes that has been received but not read. This can be used to dimension an array to hold data being received or to make sure a certian number of bytes have been received.

See Also

History

0.9.4New To Version
1.1.4.0Added Serial Port
en/size.txt · Last modified: 2016/08/12 20:28 by admin