Jump to content

API Console.GetLineText: Difference between revisions

From Flowcode Help
JonnyW (talk | contribs)
XML import API changes
JonnyW (talk | contribs)
XML Import to change Variable types into Variable Types
Line 10: 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 read the text from
:The zero-based index of the line to read the text from




==Return value==
==Return value==
[[Variable types|STRING]]
[[Variable Types|STRING]]


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

Revision as of 11:08, 10 June 2013

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

Class hierarchy

Console

GetLineText

Parameters

HANDLE ConsoleHandle

A valid console windows handle

ULONG Line

The zero-based index of the line to read the text from


Return value

STRING

No additional information


Detailed description

No additional information


Examples

Calling in a calculation

  • Declare a variable 'result' of type STRING
  • Add to a calculation icon:
    result = ::Console.GetLineText(consolehandle, line)

No additional information