Type

Use

Displays the resultant type of an expression.

Command Syntax

TYPE [/FULL] expression

where:

expression
Can be any expression that may occur in the source language program, including references to simple as well as aggregate (such as array, record, and structure elements) type variables

Description

The TYPE command prints the resultant type of an expression.

If the expression refers to a structure or record, the Full option can be used to display the entire structure or record.

Example

In the following example, declaration information about various data items is displayed.

CodeWatch> TYPE COUNT
COUNT fixed binary (31) automatic 
CodeWatch> TY FLAGS
FLAGS(1:1000) bit (1) automatic