HP 3000 Manuals

>GENERATE IMAGEPARMS [ DICTIONARY 3000 ] MPE/iX 5.0 Documentation


DICTIONARY 3000

>GENERATE IMAGEPARMS 

Generates the PASCAL data structures for the IMAGE standard parameters.

Prompts 

GENERATE IMAGEPARMS does not issue any additional prompts.  DICTPDE will
begin generating the IMAGE parameters as soon as the GENERATE IMAGEPARMS
command-subcommand is entered.  These parameters include the DB-STATUS
array declaration, the eight MODE declarations, and the utility LIST
declarations.

Discussion 

GENERATE IMAGEPARMS allows you to generate the TYPE, CONST and VAR
declarations for the IMAGE standard parameters.  This command-subcommand
does not extract any data definitions from the Dictionary to generate
these parameters.

Example 

     >generate imageparms
     type

      status_type =
       record
         c_word         : -32768..32767;
         stat2          : -32768..32767;
         stat3_4        : integer;
         stat5_6        : integer;
         stat7_8        : integer;
         stat9_10       : integer;
      end;

     var

      status           : status_type;
      password         : packed array [1..8] of char;
      dummy_list       : packed array [1..2] of char; (*init '; '*)
      all_items        : packed array [1..2] of char; (*init '@;'*)
      previous_list    : packed array [1..2] of char; (*init '*;'*)
      mode1            : -32768..32767;               (*init 1*)
      mode2            : -32768..32767;               (*init 2*)
      mode3            : -32768..32767;               (*init 3*)
      mode4            : -32768..32767;               (*init 4*)
      mode5            : -32768..32767;               (*init 5*)
      mode6            : -32768..32767;               (*init 6*)
      mode7            : -32768..32767;               (*init 7*)
      mode8            : -32768..32767;               (*init 8*)


MPE/iX 5.0 Documentation