MACRO Section
From the user's point of view macro is a set of screens, with database fields
values, which require to be individually completed in order to manage the
database.
Macros are the core of Application Program. Organize working of HHR after
entering menu. User can create as many macros as he want, but very important is
that HHR 3000 PRO has 256kB EEPROM memory for V1 and 512kB EEPROM
memory for V2, where application program and user database are placed.
Application Project can't oversize 256kB for V1 and 512kB for V2
.
Macro definition starts with section name in capital letters and ends with END word
in capital letters.
Each macro starts with
begin_macro
:macro_name and ends with
end_macro
,
macro name is used to identify macros at MENU section. Each macro consist of 3
sections, Action area, Control area and Screens.
Action area consists of function carried out when Special Screen functions are
performed or Transponder Read button is pressed(other options available), it
depends on definitions included in Action Area.
Action area starts with
begin_action_area
and ends with
end_action_area
,
Control area starts with
begin_control_area
and ends with
end_control_area.
Action area and Control area(each of them) can maximally consist of 25 functions.
Only 25 database fields can be modified(edited) in each macro.
Action area and Control area are concerned when current record number changes,
current record number is simply a number of record on which a user is working at
specified time, a number of record can be changed by functions at screens. When
Special Screen Function changes a record number Control area runs, and after
that Action area. It is very important you to understand that Action Area and Control
Area runs only if record is changed by Special Screen Function, it is possible to
show it to you as if-clause (decision block).
There are also Special Action Area functions which define HHR to move to Control
D01B2.4 HHR 3000 PRO Manual
34/75