CALL TEXT
This page was last modified 18:52, 13 June 2021 by Mars2000you.

Contents

Effect

Displays a text on graphic screen 2 with the characters in white on a red background, without need to use first OPEN, contrary to PRINT.

The characters are displayed from right to left with spaces added before and after numbers when they are not between quotes.

When not defined before CALL TEXT with CALL SIZE, the size of the characters will be 1x1 or the last used size.

Syntaxes

  • CALL TEXT(<String1>, <String2>,...)
  • CALL TEXT(Number1, Number2,...)

Both syntaxes can be combined.

Parameters

<String> is a string (between quotes) or a string variable that needs to be displayed.

<Number> is a number (without quotes before and after).

Examples

(with International characters)

10 SCREEN 2
20 PRESET(180,5)
30 _SIZE(9,9)
40 _TEXT("xyz")
50 GOTO 50
10 SCREEN 2
20 PRESET(180,5)
30 _SIZE(3,3)
40 A$="abc"
50 _TEXT(A$,"g",30)
60 PRESET(180,90)
70 _SIZE(3,4)
80 A$="xyz"
90 _TEXT(A$,"h","5")
100 GOTO 100

Related to

CALL GPRINT, CALL SIZE, CALL VPRINT, OPEN, PRINT

Compatibility

Arabic BASIC - only Bawareth computers with 1990 version of Arabic Basic