Jump to content

API File.NVM.ReadByte

From Flowcode Help
ReadByte
Reads a single byte from the NVM, -1 if empty 
- HANDLE FileHandle
The handle of an open file 
- ULONG Address
Position in the file in bytes 
- INT Return


Detailed description

Examples

Calling in a calculation

  • Declare a variable 'result' of type INT
  • Add to a calculation icon:
    result = ::File.NVM.ReadByte(filehandle, address)