HP 3000 Manuals

func syminset [ System Debug Reference Manual ] MPE/iX 5.0 Documentation


System Debug Reference Manual

func syminset 

Returns a Boolean value of TRUE if the set member specified by the member
parameter is in the set specified by the virtual address and the path
specification.

Syntax 

     syminset (virtaddr path member)

Formal Declaration 

     syminset:bool (virtaddr:ptr path:str member:str)

Parameters 

 virtaddr        The virtual address of the start of the set.

                 Virtaddr can be a short pointer, a long pointer, or a
                 full logical code pointer.

 path            The path specification as described in chapter 5,
                 "Symbolic Formatting/Symbolic Access."

 member          The string value of the member to test for.

Examples 

The following examples assume the following types exist.  We also assume
that a variable of type SubjectSet is located at the virtual address
SP-34.

        VAR  myset : SubjectSet;

           BEGIN
              myset := [ HISTORY, HEALTH, PHYSED ];
           END;

     $nmdat > wl syminset(sp-34, 'subjectset', 'math') 
     FALSE

     $nmdat > wl syminset(sp-34, 'subjectset', 'physed') 
     TRUE

In the example above, the symbolic file name is not specified.  The last
symbolic file accessed is, therefore, used by default.

Limitations, Restrictions 

none



MPE/iX 5.0 Documentation