This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Prints text, with optional color and location specified, and moves cursor to the next line
Syntax
WCon_PrintL text [In fgColor, bgColor] [At column, row]
Returns
None
Parameters
Name |
Type |
Optional |
Meaning |
text |
String |
No |
text to be printed to WCon |
fgColor |
Numeric |
Yes |
foreground color, 0 to 255, you can use %WCon_COLOR_* equates |
bgColor |
Numeric |
Yes |
background color, 0 to 255, you can use %WCon_COLOR_* equates |
column |
Numeric |
Yes |
olumn to print the text to, you may use %WCON_CENTER |
row |
Numeric |
Yes |
row to print the text to, you may use %WCON_MIDDLE |
Remarks
Restrictions
Cursor is moved on first character of the next row after printing.
If no color is specified, the default one, or the one forced by WCon_Color will be used.
If color is specified, you need to specify both fgColor and bgColor.
If no position is specified, the text will be printed at current cursor position.
If position is specified, you need to specify both column and row
See also
Examples
WCon_PrintL "1" at 1, 1 ' Prints to top left corner
WCon_PrintL "2" at %WCON_CENTER, %WCON_MIDDLE ' Prints to center of screen
' Prints text in yellow on black background
WCon_PrintL "3" in %WCon_COLOR_YELLOW, %WCon_COLOR_BLACK
' Prints text in yellow on black background at position 5, 5
WCon_PrintL "4" in %WCon_COLOR_YELLOW, %WCon_COLOR_BLACK at 5, 5