#include "TrueBASIC.h" void show_label(int site[][65], int np[], int L, char* properlabel); int proper(int np[], int label); void show_label(int site[][65], int np[], int L, char* properlabel) { int label, x, y; char Stmp1_[_LBUFF_]; for(y = 1; y <= L; ++y) { for(x = 1; x <= L; ++x) { label = site[x][y]; if(label > 0) { if(strcmp(properlabel, "yes") == 0) label = proper(np, label); sprintf(Stmp1_, "%2d", label); GWputtxt((float)x, (float)y, Stmp1_); } } } }