Import Differences To Yabasic Pc Versions; Temporary Restrictions/Known Bugs; Window-Handling - CAB A+ Series Programming Manual

Hide thumbs Also See for A+ Series:
Table of Contents

Advertisement

a-Series basic compiler
399

Import differences to Yabasic PC versions:

-
To switch off the ESC command interpretation of JScript you can use POKE „transparent",
0 or 1.
However all data which is already in the input buffer (64 kwords) has been filtered. So do not
send data with ESC in it before the POKE command has been executed!
-
abc works internally with Unicode, so multilingual data processing is no problem for abc
programs.
abc can also handle chr$(0) within a string which is interpreted as string end in yabasic.
-
Programs can be stopped by total CANCEL (pressing CAN more than three seconds on
front panel), this can be disabled by ON INTERRUPT command.
-
No SYSTEM$() function.

Temporary restrictions/known bugs:

-
Printing ESC sequences to JScript has no effect

Window-Handling:

abc uses a hidden window which can be (partially) mapped to the front panel LCD. The printer
handles the window as a bitmap with 8 bit indexed colours. So each dot can have a value of 0
(black) to 255 (white). During mapping to the LCD, each colour is mapped according to its
brightness which is predefined as grayscales, i.e. 128 to 255 gives white pixels, 0 to 127 black
pixels.
The mapping can be changed with the POKE command to RGB colors which are useful if you
want to write the graphic to the card.
-
'OPEN WINDOW width, height' opens the window. Only one is allowed. As this window is stored
internally in standard memory, define it only the size you really need. (E.g. a window 100,100
takes 10kByte memory). For the front panel's LCD a window of 120 by 32 is sufficient.
(depending on the display of the printer type)
-
There's only one font (16 dots high), variable width with support of latin, greek, cyrillic, hebrew
and arabic scripts. The origin is in the upper left corner of the first character's bounding box.
For right-to-left writing countries, the origin is in the upper right corner.
cab Produkttechnik GmbH & Co KG
399
399

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mach 4PxXd4

Table of Contents