![]() |
<< Index >> |
FutureBasic |
| statement | ||
|
|
||
@(col,row ) | %(h,v )][, | ;}[@(col,row ) | %(h,v )][, | ;}[
@(
This specifies where the first printed character should appear within the window or the printed page.
If you use the @( variant, then %( variant, then (.
If you don't specify either variant, printing begins at the window's or printer's current pen position.
This can be any of the following:
| printItem | Description |
| a string expression | The string is printed. If the string includes a carriage-return character (ASCII character 13), the character causes the pen to move down to the beginning of the next line. |
| a numeric expression | The decimal value of the number is printed. A space character is always printed after the number; if the number is non-negative, a space character is also printed before the number. FutureBasic formats the number in a reasonable way; if you need the number to appear in a special format, use string functions such as Using, Hex$, Str$, etc. |
| a Pointer or Handle variable | The variable's value is interpreted as an address, which is then printed as a numeric expression (see above). |
| Tab(position) | Sufficient space characters are printed until the current line contains position -1 characters. (If there are already more than position -1 characters on the line, Tab does nothing.) This is usually done to help line up several lines of text into neat columns. Note that this effect looks best if you're using a monospaced font. |
| Spc(numSpaces) | numSpaces space characters are printed. This has the same effect as printing the string expression Space$(numSpaces). |
, | ;}
This simply causes the pen to move down to the beginning of the next line; it effectively "prints" a carriage-return character. This is useful for putting blank line(s) between other lines of text.
See also
Line wrap, scrolling and page-eject
By default, if the
If you're printing to a window, and the
If you're printing to the printer, and the
Note
Text which is displayed using the
text; color; long color; width; using; space; edit field