#include <acknex.h> short test; short array[20]; typedef struct TESTSTRUCT { short array[20]; }TESTSTRUCT; TESTSTRUCT teststruct; void main() { error(str_for_num( NULL, sizeof(test) ) ); // 2 -> OK error(str_for_num( NULL, sizeof(array) ) ); // 4 -> NOK error(str_for_num( NULL, sizeof(teststruct) ) ); // 40 -> OK }
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de