Jump to content

API Console.SetLineBytes

From Flowcode Help
Revision as of 14:11, 13 July 2026 by SteveT (talk | contribs) (Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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)