Jump to content

API Console.SetLineBytes: Difference between revisions

From Flowcode Help
No edit summary
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetLineBytes'''
| width="90%" class="mtx-class-macrohead" | '''SetLineBytes'''
|-
|-
| colspan="2" | Writes a line of bytes from the given console, pass -1 for final line 
| colspan="2" | Writes a line of bytes from the given console, pass -1 for final line 
Line 38: Line 38:


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




Line 44: Line 44:
===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 examples</span>''

Latest revision as of 14:11, 13 July 2026

SetLineBytes
Writes a line of bytes from the given console, pass -1 for final line 
- 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 
- ULONG MaxBytes
The maximum number of bytes to read, -1 for all 
- NONE Return


Detailed description

Examples

Calling in a calculation

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