Hi,
You can create a Progress Bar to know the progress, a sample code would be as following:
break -b This is the caption for the dialog box;
break -r 0 100; // the range of values will be 0 - 100
for (ii = 0; ii <= 100; ii=ii+5) // Show every 5 percentage
{
break -p ii; // the current value is ii
csetvalue col:=col(a) formula:="i";// Put your code here
csetvalue col:=col(b) formula:="cos(col(a))";
//sec -p .1; // Delay to simulate executing code
};
break -end; // done, close the dialog box
Hope this can be some help.
Regards!
Sean
OriginLab Tech.