CALL VPRINT
This page was last modified 18:50, 13 June 2021 by Mars2000you.

Contents

Effect

Displays a string of bold characters on graphic screens (2 to 8) without need to use first OPEN, contrary to PRINT.

The characters will be displayed from right to left with 8x16 fonts and the Code Concatenation Analysis (CCA) is used before displaying them when it is enabled.

It means that the computer will automatically modify the calligraphy of the 28 main Arabic characters according their place in the word: Initial, Medial, Terminal, Isolated. 22 characters can have 4 forms, the 6 remaining characters (ʾalif, dāl, dhāl, rāʾ, zāy / zayn, wāw) have only 2 forms.

See https://en.wikipedia.org/wiki/Arabic_alphabet for more info.

Although this instruction is mainly designed for Arabic characters, you can also use it with International characters to get an amazing inversion effect.

Note: On Bawareth Perfect MSX1 and Bawareth Perfect MSX2, this instruction works like CALL GPRINT: no bold characters, but normal characters!

Syntaxes

  • CALL VPRINT(<String1>,<String2>,...)
  • CALL VPRINT(<String1>;<String2>;...)

Both syntaxes can be combined.

Parameter

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

Examples

(with International characters)

10 SCREEN 2
20 PRESET(170,30)
30 _VPRINT("history")
40 GOTO 40
10 SCREEN 5
20 PRESET(170,30)
30 A$="history"
40 _VPRINT(A$)
50 GOTO 50

Related to

CALL GPRINT, CALL TEXT, OPEN, PRINT

Compatibility

Arabic BASIC 2.01 and higher