Difference between revisions of "API Console.GetLineText"
From Flowcode Help
Jump to navigationJump to search (XML import)  | 
				 (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|GetLineText]]  | :[[API Console|GetLineText]]  | ||
</div>  | </div>  | ||
| Line 9: | Line 10: | ||
==Parameters==  | ==Parameters==  | ||
| − | + | [[Variable types|HANDLE]] ''ConsoleHandle''  | |
:A valid console windows handle  | :A valid console windows handle  | ||
| − | + | [[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  | ||
| Line 18: | Line 19: | ||
[[Variable types|STRING]]  | [[Variable types|STRING]]  | ||
| − | No additional information  | + | ''<span style="color:red;">No additional information</span>''  | 
| + | |||
| + | |||
==Detailed description==  | ==Detailed description==  | ||
| − | ''No additional information''  | + | ''<span style="color:red;">No additional information</span>''  | 
| + | |||
==Examples==  | ==Examples==  | ||
| Line 27: | Line 31: | ||
* Declare a variable 'result' of type STRING  | * Declare a variable 'result' of type STRING  | ||
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::Console.GetLineText(consolehandle, line)</pre>  | * Add to a calculation icon: <pre class="brush:[cpp]">result = ::Console.GetLineText(consolehandle, line)</pre>  | ||
| + | |||
| + | ''<span style="color:red;">No additional information</span>''  | ||
Revision as of 22:10, 11 May 2013
<sidebar>API contents</sidebar> Reads a line of text from the given console, pass -1 for final line
Contents
Parameters
HANDLE ConsoleHandle
- A valid console windows handle
 
ULONG Line
- The zero-based index of the line to read the text from
 
Return value
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