Jump to content

API Console.SetLineBytes: Difference between revisions

From Flowcode Help
Admin (talk | contribs)
XML import
Admin (talk | contribs)
XML import
Line 3: Line 3:


<div style="width:25%; float:right" class="toc">
<div style="width:25%; float:right" class="toc">
===Class hierarchy===[[API Console|Console]]
====Class hierarchy====
[[API Console|Console]]
:[[API Console|SetLineBytes]]
:[[API Console|SetLineBytes]]
</div>
</div>
Line 9: Line 10:


==Parameters==
==Parameters==
''[[Variable types|HANDLE]] ConsoleHandle''
[[Variable types|HANDLE]] ''ConsoleHandle''
:A valid console windows handle
:A valid console windows handle


''[[Variable types|ULONG]] Line''
[[Variable types|ULONG]] ''Line''
:The zero-based index of the line to write the data to
:The zero-based index of the line to write the data to


''[[Variable types|BYTE[]]] Data''
[[Variable types|BYTE[]]] ''Data''
:A block of data to add to the console
:A block of data to add to the console


''[[Variable types|ULONG]] Offset''
[[Variable types|ULONG]] ''Offset''
:An offset into Data of the first byte to read from
:An offset into Data of the first byte to read from
:''The default value for this parameter is: '''''0'''
:''The default value for this parameter is: '''''0'''


''[[Variable types|ULONG]] MaxBytes''
[[Variable types|ULONG]] ''MaxBytes''
:The maximum number of bytes to read, -1 for all
:The maximum number of bytes to read, -1 for all
:''The default value for this parameter is: '''''-1'''
:''The default value for this parameter is: '''''-1'''
Line 30: Line 31:


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


==Examples==
==Examples==
===Calling in a calculation===
===Calling in a calculation===
* Add to a calculation icon: <pre class="brush:[cpp]">::Console.SetLineBytes(consolehandle, line, _arraydata, offset, maxbytes)</pre>
* Add to a calculation icon: <pre class="brush:[cpp]">::Console.SetLineBytes(consolehandle, line, _arraydata, offset, maxbytes)</pre>
''<span style="color:red;">No additional information</span>''

Revision as of 22:10, 11 May 2013

<sidebar>API contents</sidebar> Writes a line of bytes from the given console, pass -1 for final line

Class hierarchy

Console

SetLineBytes

Parameters

HANDLE ConsoleHandle

A valid console windows handle

ULONG Line

The zero-based index of the line to write the data to

BYTE[] Data

A block of data to add to the console

ULONG Offset

An offset into Data of the first byte to read from
The default value for this parameter is: 0

ULONG MaxBytes

The maximum number of bytes to read, -1 for all
The default value for this parameter is: -1

Return value

This call does not return a value

Detailed description

No additional information


Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Console.SetLineBytes(consolehandle, line, _arraydata, offset, maxbytes)

No additional information