Enscribe Programmer's Guide

0020 0001 23167 00002 0000.00
0020 0002 02010 00001 0000.00
0020 0003 12950 00005 0000.00
0021 0001 00512 00022 0000.00
0021 0002 23167 00001 0000.00
0176 0001 32767 00001 0000.00
0410 0001 01234 00010 0000.00
0410 0002 03379 00010 0000.00
0623 0012 01234 00010 0000.00
orderno itemno partno qty itemtot
The format of an inventory record is:
0
Primary-Key
Field
Byte Offset:
partno descr price availqty loc vendor
2 32 40 42 46 54
Alternate-Key
Field AQ
Alternate-Key
Field LO
Primary-Key
Field VN
The TAL definition of an inventory record is:
LITERAL descr^len = 30,
loc^len = 4,
vendor^len = 8;
STRUCT inventory^struct (*); ! inventory record
BEGIN
FIXED(2) inv^partno; ! part number
STRING inv^descr [0:descr^len - 1]; ! description
FIXED(2) inv^price; ! price
FIXED(2) inv^availqty; ! available quantity
STRING inv^loc [0:loc^len - 1]; ! location
STRING inv^vendor [0:vendor^len - 1];! vendor
END;
STRUCT .inv (inventory^struct);
102 Key-Sequenced Files