System Debug Reference Manual (32650-90888)
496 Chapter11
System Debug Standard Functions
func syminset
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 pathspec member
)
Formal Declaration
syminset:bool (
virtaddr
:ptr
pathspec
: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.
pathspec
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