outputting_20arabic_20text
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| outputting_20arabic_20text [2018/03/31 13:19] – external edit 127.0.0.1 | outputting_20arabic_20text [2024/01/05 00:22] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| //by Richard Russell, April 2012//\\ \\ BBC BASIC for Windows supports outputting **Unicode** text to the main output window or to the printer, and it also supports **right-to-left** printing, so in principle it ought to be able to output Arabic text. However there is a complication: | //by Richard Russell, April 2012//\\ \\ BBC BASIC for Windows supports outputting **Unicode** text to the main output window or to the printer, and it also supports **right-to-left** printing, so in principle it ought to be able to output Arabic text. However there is a complication: | ||
| + | <code bb4w> | ||
| VDU 23, | VDU 23, | ||
| *FONT Times New Roman, 28 | *FONT Times New Roman, 28 | ||
| Line 12: | Line 13: | ||
| VDU 23, | VDU 23, | ||
| END | END | ||
| + | </ | ||
| This is what is displayed: | This is what is displayed: | ||
| + | <code bb4w> | ||
| VDU 23, | VDU 23, | ||
| *FONT Times New Roman, 28 | *FONT Times New Roman, 28 | ||
| Line 23: | Line 26: | ||
| VDU 23, | VDU 23, | ||
| END | END | ||
| + | </ | ||
| This is what is displayed: | This is what is displayed: | ||
| + | <code bb4w> | ||
| DEF FNarabic(A$) | DEF FNarabic(A$) | ||
| LOCAL A%, B%, O%, P%, U%, B$ | LOCAL A%, B%, O%, P%, U%, B$ | ||
| Line 55: | Line 60: | ||
| NEXT | NEXT | ||
| = LEFT$(B$) | = LEFT$(B$) | ||
| + | </ | ||
outputting_20arabic_20text.1522502371.txt.gz · Last modified: 2024/01/05 00:17 (external edit)