Difference between revisions of "API File.NVM.ReadByte"

From Flowcode Help
Jump to navigationJump to search
(XML import of API auto-gen)
 
(XML import API auto-gen)
Line 1: Line 1:
 
wiki page name
 
wiki page name
==File.NVMReadByte==
+
Reads a single byte from the NVM, -1 if empty
  
Reads a single byte from the NVM, -1 if empty
 
----
 
  
 
===Parameters===
 
===Parameters===
Line 21: Line 19:
  
 
===Examples===
 
===Examples===
====Calling in a calculation:====
+
====Calling in a calculation====
 
* Declare a variable 'result' of type INT
 
* Declare a variable 'result' of type INT
 
* Add to a calculation icon: result = ::File.NVM.ReadByte(filehandle, address)
 
* Add to a calculation icon: result = ::File.NVM.ReadByte(filehandle, address)

Revision as of 15:34, 10 May 2013

wiki page name Reads a single byte from the NVM, -1 if empty


Parameters

HANDLE FileHandle

The handle of an open file

ULONG Address

Position in the file in bytes

Return value

INT

No additional information

Detailed description

No additional information

Examples

Calling in a calculation

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