Jump to content

API File.NVM.ReadArray

From Flowcode Help
Revision as of 14:07, 13 July 2026 by SteveT (talk | contribs) (Text replacement - "class="wikitable" style="width:60%; background-color:#FFFFFF;"" to "class="mtx-class-macrotable wikitable"")
ReadArray
Reads an array from the NVM, returns elements read 
- HANDLE FileHandle
The handle of an open file 
- ULONG Address
Position in the file in bytes 
- ARRAY Buffer
An array of some type to read from the file 
- ULONG Elements
Maximum number of elements to read 
- ULONG Return


Detailed description

Examples

Calling in a calculation

  • Declare a variable 'result' of type ULONG
  • Add to a calculation icon:
    result = ::File.NVM.ReadArray(filehandle, address, _arraybuffer, elements)