HPlogo System Debug Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 4 System Debug Command Specifications

VARL[IST]

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Variable list. Lists the value(s) for the specified user-defined variable(s).

Syntax

   VARL[IST]  [pattern] 

Variables are always listed in alphabetical order.

Parameters

pattern

The name of the variable(s) to be listed.

This parameter can be specified with wildcards or with a full regular expression. Refer to appendix A for additional information about pattern matching and regular expressions.

The following wildcards are supported:

@

Matches any character(s).

?

Matches any alphabetic character.

#

Matches any numeric character.

The following are valid name pattern specifications:

@

Matches everything; all names.

pib@

Matches all names that start with "pib".

log2##4

Matches "log2004", "log2754", and so on.

The following regular expressions are equivalent to the patterns with wildcards that are listed above:

   `.*`    

   `pib.*` 

   `log2[0-9][0-9]4` 

By default, all user-defined variables are listed.

Examples

   %cmdebug > varlist

   var count : u32  = $1c

   var save  : 1ptr = %302.120

   var s1    : str  = this is a string

Display all currently defined user variables.

   %nmdebug > varl sl@

   var save  : 1ptr = %302.120

   var s1    : str  = this is a string

Display all variables that begin with the letter "s".

Limitations, Restrictions

Variables are not currently listed in sorted alphabetical order.

CAUTION: The output format of all System Debug commands is subject to change without notice. Programs that are developed to postprocess System Debug output should not depend on the exact format (spacing, alignment, number of lines, uppercase or lowercase, or spelling) of any System Debug command output.
Feedback to webmaster