point at flow chart 2)
●
Perform Special Action Area function and Action Area function 2,
you may think that Special Action Area function has only one
purpose(ex: defining TR button) but those function take many
action at one time for example: reading transponder; looking for it
in Table, creating a new record and more. For more detailed
information refer to Special Action Area functions chapter.
●
move from Action Area to screen where HHR was before
pressing the Transponder Read button (3c on flow charts).
Example of macro section:
MACRO
begin_macro:SETTING
begin_action_area
ReadNew(MOTHERID)
end_action_area
begin_screen
PrintText(0,0,0,"RECORDS:")
PrintExp(46,0,0,count(*))
PrintText(115,0,0,"2.1")
DrawLine(0,6,127,6)
PrintText(0,10,1,"Time:")
SetTime(40,9,1)
PrintText(0,25,1,"Date:")
SetDate(40,24,1)
DrawLine(0,63,127,63)
end_screen
begin_control_area
Copy(table)
end_control_area
end_macro
END
The Special Action function and Special Screen function were mentioned in this
chapter many times, those function have the key-role in creating macro.
IMPORTANT
:
The Special Action Functions are ReadNew, ReadSeek, AddRec, Read.
The Special Screen Functions are EditReadNew, EditReadSeek, IconAddRec,
EditNewField, IconConfirm, EditSeekField.
D01B2.4 HHR 3000 PRO Manual
37/75