Jump to content

API File.NVM.Create: Difference between revisions

From Flowcode Help
JonnyW (talk | contribs)
XML import API changes
JonnyW (talk | contribs)
XML Import to change Variable types into Variable Types
Line 11: Line 11:


==Parameters==
==Parameters==
[[Variable types|STRING]] ''Filename''
[[Variable Types|STRING]] ''Filename''
:The name of a new file to create
:The name of a new file to create


[[Variable types|ULONG]] ''Bytes''
[[Variable Types|ULONG]] ''Bytes''
:The number of bytes to fix the buffer to
:The number of bytes to fix the buffer to




==Return value==
==Return value==
[[Variable types|HANDLE]]
[[Variable Types|HANDLE]]


''<span style="color:red;">No additional information</span>''
''<span style="color:red;">No additional information</span>''

Revision as of 11:09, 10 June 2013

<sidebar>API contents</sidebar> Creates the new file as a block of non-volatile memory

Class hierarchy

File

NVM
Create

Parameters

STRING Filename

The name of a new file to create

ULONG Bytes

The number of bytes to fix the buffer to


Return value

HANDLE

No additional information


Detailed description

No additional information


Examples

Calling in a calculation

  • Declare a variable 'result' of type HANDLE
  • Add to a calculation icon:
    result = ::File.NVM.Create("filename", bytes)

No additional information