API File.NVM.WriteByte

From Flowcode Help
Jump to navigationJump to search
Fc9-comp-macro.png WriteByte
Writes a single byte to the NVM multiple times 
Fc9-h32-icon.png - HANDLE FileHandle
The handle of an open file 
Fc9-u32-icon.png - ULONG Address
Position in the file in bytes 
Fc9-u8-icon.png - BYTE Data
Array of data to write to the file 
Fc9-u8-icon.png - BYTE Count
Number of times to write the byte in sequence 
Fc9-u32-icon.png - ULONG Return


Detailed description

Examples

Calling in a calculation

  • Declare a variable 'result' of type ULONG
  • Add to a calculation icon:
    result = ::File.NVM.WriteByte(filehandle, address, data, count)