![background image](http://html1.mh-extra.com/html/cab/a-series/a-series_programming-manual_3173685007.webp)
cab Produkttechnik GmbH & Co KG
7
7
[TABLE OF CONTENTS] [COMMAND LIST]
Hermes
Apollo
A-series
This
function is
available
for:
PRODUCT MARKING AND BARCODE IDENTIFICATION
M-series
[YY... ] Print 2-digit Year (00-99) ......................................................................................... 194
[YYYY... ] Print 4-digit Year (1970-2069) ............................................................................ 195
Jalali Date functions ................................................................................................................ 196
Jalali Date functions ................................................................................................................ 196
Field Calculations and Comparisons ....................................................................................... 197
[+:op1,op2. . ,] Addition ........................................................................................................ 197
[-:op1,op2] Subtraction ........................................................................................................ 198
[*:op1,op2, . .] Multiplication ................................................................................................ 199
[/ :op1,op2] Division ............................................................................................................. 200
[%: op1,op2] Modulo ............................................................................................................ 201
[|:op1,op2] Logical Or .......................................................................................................... 203
[&:op1,op2] Logical And ....................................................................................................... 204
[<: op1,op2] Comparision < Less than ................................................................................. 205
[=: op1,op2] Comparision = Equal ....................................................................................... 206
[>: op1,op2] Comparision > Greater than ............................................................................ 207
[MOD10:x] Calculates the Modulo 10 Checkdigit ................................................................ 208
[MOD43:x] Calculates the Modulo 43 Checkdigit ............................................................... 209
[P: ... ] Print result in Price format ...................................................................................... 210
[R:x] Rounding method ......................................................................................................... 211
[?: ... ] LCD prompt ............................................................................................................ 212
Special functions (Miscellaneous) ........................................................................................... 212
[C: ... ] Leading zero replacement ....................................................................................... 215
[D:... ] Set number of Digits ................................................................................................ 216
[DBF:... ] Database file access ........................................................................................... 217
[I] Invisible fields .................................................................................................................. 218
[J: ... ] Justification .............................................................................................................. 219
[LOWER:... ] Converts to lower case characters ................................................................ 220
[name] Access a field with a name ...................................................................................... 221
[name,m{,n}] insert substring ............................................................................................... 222
[RTMP... ] Read value from serial (TMP) file ....................................................................... 223
[S:... ] Script style for numeric values ................................................................................. 224
[SER:...] - Serial numbering .................................................................................................... 225
[U:x] Insert Unicode characters ........................................................................................... 227
[UPPER:... ] Convert to upper case characters .................................................................. 228
[WLOG] Write LOG file ....................................................................................................... 229
[WTMP] Write value to serial (TMP)file ............................................................................... 230
CHAPTER 6 - cab DataBase Connector ................................................................................ 231
cab DataBase Connector commands ...................................................................................... 231
cab Database Connector and A - series-SQLClient ................................................................ 232
Installation ............................................................................................................................... 232
abc - a-Series basic compiler ............................................................................................... 237
Requirements: ......................................................................................................................... 237
Restrictions: ............................................................................................................................ 237
Import differences to Yabasic PC versions: ............................................................................ 237
Temporary restrictions/known bugs: ........................................................................................ 237
Window-Handling: ................................................................................................................... 238
New functions compared to Yabasic: ...................................................................................... 238
Restrictions compared to Yabasic: .......................................................................................... 238
PEEK Variables: ...................................................................................................................... 239
POKE Variables: ..................................................................................................................... 240