Record keys

CRADEF record keys are composed of the following fields:

  1. (1 byte) The type character ("A" for action, "D" for disabled action, "P" for parameter, "R" for RAM, "T" for return value, "I" for identifier, and "F" for field).
  2. (2 bytes) The two-digit RAM ID left-padded with 0s (a unique identification number between "00" and "99").
  3. (3 bytes) The three-digit secondary ID left-padded with 0s. For all RAMs, this should be ″000″. For standard actions you should use the predefined action ID, and for custom actions you should use a custom action ID greater than or equal to ″100″. For parameters, return values and fields, you should use sequential IDs starting at ″000″.
  4. (2 bytes) Unused (reserved for future use). Fill these bytes with spaces.

The following table summarizes the CRADEF key format.

Table 1. CRADEF key format. The number of bytes reserved for each field is specified in parentheses. Fields marked as "Unused" should be filled entirely with spaces.
8-Byte Key
(1 byte)
Type
(2 bytes)
RAM ID
(3 bytes)
Secondary ID
(2 bytes)
Unused