hi all,
maybe a simple C-question:
I build an array of structures as a temporal local variable in a function, then put some contents into the array-structures and give the array to a function in the following manner:
//in a function...
struct TableColumn theColumns[PLOT_REGION_TABLE_COL_NUMBER_WITH_PA_LONG];
strcpy(theColumns[0].sZColName,"Name");
theColumns[0].lfColWidthRelative=0.2;
theColumns[1].lfColWidthRelative=0.35;
//................
pPlot->ctrlHandle=PLOT_buildGraphicalRepresentationTable(pPlot,PLOT_REGION_TABLE_COL_NUMBER_WITH_PA_LONG, theColumns);
The compiler says to me: "Local "theColumns" was referenced before beeing initialized". why this - any idea ?
best regards
simon