read-reg record-session
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

read-variable

Synopsis

read-variable "variable" [alt]

Description

Returns the value of the CLI variable named variable if it is defined. If the variable does not exist, then alt is returned or FALSE if alt is not specified.

Note that read-variable foo returns the value of variable $foo, whereas read-variable $bar returns the value of the variable whose name is stored in $bar.

Provided By

Simics Core

See Also

defined, $
read-reg record-session