The $VIEW function returns information about an environmental factor selected by the arguments. In GT.M, the first argument contains a keyword identifying the environmental factor and, where appropriate, subsequent arguments select among multiple possible occurrences of that factor.
The format for the $VIEW() function is:
$V[IEW](expr1[,expr2])
The first expression specifies a keyword identifying the target factor for $VIEW() to examine.
The second expression differentiates between multiple possible targets for some keywords. $VIEW() requires the second expression for some keywords and does not permit it for others.
The $VIEW function returns 1 (true) if the region is frozen by MUPIP or DSE and returns 0 (false) otherwise.