Jump to content

API Console.AddMemory: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import of API auto-gen
 
Admin (talk | contribs)
XML import API auto-gen
Line 1: Line 1:
wiki page name
wiki page name
==ConsoleAddMemory==
Adds a window to the list of consoles available


Adds a window to the list of consoles available
----


===Parameters===
===Parameters===
Line 32: Line 30:


===Examples===
===Examples===
====Calling in a calculation:====
====Calling in a calculation====
* Declare a variable 'result' of type HANDLE
* Declare a variable 'result' of type HANDLE
* Add to a calculation icon: result = ::Console.AddMemory("name", bytes, bpl, init, false)
* Add to a calculation icon: result = ::Console.AddMemory("name", bytes, bpl, init, false)

Revision as of 15:34, 10 May 2013

wiki page name Adds a window to the list of consoles available


Parameters

STRING Name

The name to appear as the consoles title

ULONG Bytes

The number of bytes to add to the buffer

ULONG BpL

The number of bytes per line to display
The default value for this parameter is: 16

BYTE Init

The value to initialise each byte of memory to
The default value for this parameter is: 0

BOOL UserWrite

Set true to allow amending of the data from the User

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 = ::Console.AddMemory("name", bytes, bpl, init, false)