Difference between revisions of "API Console.SetLineBytes"

From Flowcode Help
Jump to navigationJump to search
(XML import of API auto-gen)
 
(XML import API auto-gen)
Line 1: Line 1:
 
wiki page name
 
wiki page name
==ConsoleSetLineBytes==
+
Writes a line of bytes from the given console, pass -1 for final line
  
Writes a line of bytes from the given console, pass -1 for final line
 
----
 
  
 
===Parameters===
 
===Parameters===
Line 30: Line 28:
  
 
===Examples===
 
===Examples===
====Calling in a calculation:====
+
====Calling in a calculation====
 
* Add to a calculation icon: ::Console.SetLineBytes(consolehandle, line, _arraydata, offset, maxbytes)
 
* Add to a calculation icon: ::Console.SetLineBytes(consolehandle, line, _arraydata, offset, maxbytes)

Revision as of 15:34, 10 May 2013

wiki page name Writes a line of bytes from the given console, pass -1 for final line


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)