Chapter Contents |
Previous |
Next |
Command Directory |
wha{tis}
Format 1: |
whatis
EXPRESSION |
Format 2: |
whatis
(TAG) |
whatis
command prints the type information associated with the argument.
Format 2: Format 2 prints the type information
for a structure, union, or
enum
tag or type defined with a
typedef
. The type information includes the definition of the structure,
union,
enum
or
typedef
, and the length
of the expression.
struct XYZ { int arr[10] [5] ; double d; char *buf; } my_struct; struct XYZ *xptr; int numx;The
whatis
command can
be used to examine the types of class members by using the C++ binary operator ::
. For example:
whatis my_struct::member_name
PROFILE | no |
configuration file | no |
Source window prefix | none |
whatis
command uses command scope to resolve references to all identifiers.
Successful: 0 | |
Unsuccessful: 1 |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.