typedef struct{
var dLong; //
var dShort;
string cName;
}PDATA;
PDATA pdata[4];
void resetPdata(){
int i=0;
while (algo(loop("test","price","worm","sup"))){
pdata[i].cName=(string)Algo;
printf("\nALGO= %s",pdata[i].cName);
i++;
}
}
function run(){
if (is(INITRUN))
resetPdata();
algo("allOther");
int i=0;
for (i=0; i< 4;i++)
printf("\n name in %d is%s",i,pdata[i].cName);
quit("\n Finish test!");
}