#include "fxlib.h" void PrintInt(int n) { int i, length=0; char str[20] = "0"; if(n) { if(n<0) { length++; str[0] = '-'; n = -n; } for(i=n ; i ; i/=10) length++; str[length] = 0; for( ; n ; n/=10) str[--length] = n%10+'0'; } Print(str); } int AddIn_main(int isAppli, unsigned short OptionNum) { unsigned int key; int tab[18][10]; int a,b; Bdisp_AllClr_DDVRAM(); for(a=0 ; a<18 ; a++) { for(b=0 ; b<10 ; b++) { tab[a][b] = a; } } for(a=0 ; a<4 ; a++) { locate(1, a+1); for(b=0 ; b<4 ; b++) { PrintInt(tab[a][b]); Print(","); } } GetKey(&key); return 1; } #pragma section _BR_Size unsigned long BR_Size; #pragma section #pragma section _TOP int InitializeSystem(int isAppli, unsigned short OptionNum) { return INIT_ADDIN_APPLICATION(isAppli, OptionNum); } #pragma section