check a worksheet column to see if it is really a text column
int is_col_all_text( const Worksheet & wks, int nCol )
1 if column is all text
0 if column has neumarical
-1 if nCol is not valid or wks not valid
EX1
//Make sure the active layer is a worksheet void is_col_all_text_ex1() { Worksheet wks = Project.ActiveLayer(); int nRet = is_col_all_text(wks, 0); switch(nRet) { case 1: out_str("the column is all text"); break; case 0: out_str("the column has numerical"); break; case -1: out_str("the column or wks not valid"); break; default: out_str("unknown error"); } }
origin.h