API File.NVM.WriteArray

From Flowcode Help
Jump to navigationJump to search
Fc9-comp-macro.png WriteArray
Writes an array to the NVM 
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-void-icon.png - ARRAY Data
Array of data to write to the file 
Fc9-u32-icon.png - ULONG Elements
Maximum number of elements to write 
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.WriteArray(filehandle, address, _arraydata, elements)