
Run Code Conditionally / WHATIS That?
2-21
An Introductory Tutorial to the C Source Debugger
When the conditional run completes, close the WATCH window.
Close the WATCH window:
wr
WHATIS that?
At some point, you might like to obtain some information about the types of
data in your C program. Maybe things won’t be working quite the way you’d
planned, and you’ll find yourself saying something like “... but isn’t that sup-
posed to point to an integer?” Here’s how you can check on this kind of infor-
mation; be sure to watch the COMMAND window display area as you enter
these commands.
Use the WHATIS command to find the types of some of the variables
declared in the sample program:
whatis genum
enum yyy genum;
genum is an enumerated type
whatis tiny6
struct {
tiny6 is a structure
int u;
int v;
int x;
int y;
int z;
} tiny6;
whatis call
int call();
call is a function that returns an integer
whatis s
short s;
s is a short unsigned integer
Содержание TMS320C6 Series
Страница 10: ...x ...
Страница 20: ...xx ...
Страница 118: ...4 20 ...
Страница 144: ...6 16 ...
Страница 164: ...7 20 ...
Страница 170: ...8 6 ...
Страница 284: ...B 18 ...
Страница 290: ...C 6 ...