System Debug Reference Manual (32650-90901)
464 Chapter10
System Debug Standard Functions
func symlen
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
func symlen
Returns the length of a data structure in bits or bytes.