Files :: Input and Output

file_bin_read_word(file,size,bigend)
Returns a word value of a given byte-size from an open binary file.
file_bin_seek_relative(file,pos)
Sets the file seek pointer of an open binary file to a position relative to its current position.
file_bin_write_word(file,size,bigend,value)
Writes a binary word of a given byte-size to an open binary file.
file_text_open_read_all(fname)
Returns the contents of a given file as a multiline string.
file_text_open_write_all(fname,str)
Writes a multiline string to a given file.
save_screenshot(name,folder)
Saves a successively numbered screenshot within the working directory.