Difference between revisions of "ISKernel:console (Data Type)"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 17: | Line 17: | ||
===See if console is open=== | ===See if console is open=== | ||
*${Console.Open} | *${Console.Open} | ||
− | : | + | :This will Return '''TRUE''' if the console is visible |
===Toggle console visibility=== | ===Toggle console visibility=== | ||
*Console:Toggle | *Console:Toggle | ||
Line 39: | Line 39: | ||
== See Also == | == See Also == | ||
− | * [[LavishScript:Data Types| | + | *[[LavishScript:Data Types|Data Types]] |
− | * [[IS: | + | *[[IS:Kernel#Data_Types|Kernel Data Types]] |
+ | |||
{{DT-Stub}} | {{DT-Stub}} | ||
[[Category:Inner Space]] | [[Category:Inner Space]] | ||
− | [[Category:Inner Space | + | [[Category:Inner Space Kernel]] |
− | [[Category:Inner Space | + | [[Category:Inner Space Kernel Data Types]] |
Latest revision as of 04:38, 19 October 2005
Contents
Description
The data type for the InnerSpace Console. The methods control the Console's visibility.
Members
- bool Open: TRUE if the console is currently visible
- bool Echo: TRUE if console "echo" is enabled (i.e. not squelched, and 'echo off' has not been used)
Methods
- Toggle: Toggles the console visibility
- Open: Opens the console
- Close: Closes the console
Returns
(none)
Examples
See if console is open
- ${Console.Open}
- This will Return TRUE if the console is visible
Toggle console visibility
- Console:Toggle
Open the console
- Console:Open
Close the console
- Console:Close
- Example code
function main() { if !${Console.Open} press 0 wait 20 Call main }
This would bascially pause your script if you open the console window
See Also