NXC
Version 1.2.1 r5
Main Page
Related Pages
Modules
Data Structures
Files
Examples
All
Data Structures
Files
Functions
Variables
Groups
Pages
ex_SizeOf.nxc
This is an example of how to use the
SizeOf
and
NumOut
functions.
task main()
{
int
x;
float
f;
byte b;
byte data[] = {1, 2, 3, 4, 5, 6};
NumOut
(0,
LCD_LINE1
,
SizeOf
(x));
NumOut
(0,
LCD_LINE2
,
SizeOf
(f));
NumOut
(0,
LCD_LINE3
,
SizeOf
(b));
NumOut
(0,
LCD_LINE4
,
SizeOf
(data));
while
(
true
);
}
Generated by
1.8.2