printVariables
printVariables(t_pattern[p_outport] ) =>t
Description
Prints all variable names that contain the given substring or match the given regular expression, along with their values.
This function is useful for finding variables that contain the same substring or finding an individual variable when you know only part of the name. The printVariables function also prints the value of each variable it finds.
Arguments
Value Returned
|
Always returns |
Examples
Prints all the variables with their values that contain the substring stack and returns t. The underscore (_) at the beginning of _stacktrace indicates that it is an internal system variable.
printVariables( "stack" )
_stacktrace 0
=> t
Related Topics
Return to top