Hi,
I have 3 problems i cannot deal with.
1. How can i activete a graph previously renamed via string variable? I want to use win -a .
In this example it doesn't work:
string str$;
string str1$;
getn (A) str$ (B) str1$
(ENTER YOUR DATA);
dlgFile group:=ascii;
newpanel name:=str1$;
string wn$ = page.name$;
win -r %(wn$) %(str1$);
newbook name:= str$ option:=lsname;
...// data importing
...//plotting
win-a %(str1$); //DOESN'T WORK
..../graph formatting
2. how to do an endless loop (now i have 100 iterations)
Example:
loop(i,1,100){....}
3. How can i stop the loop when user press cancel button in getn window inside the loop , and then do instructions outside the loop ?
Example :
loop(i,1,100)
{
string str$;
string str1$;
getn (A) str$ (B) str1$
(ENTER YOUR DATA);
.......// some instructions
}
.....// instructions when loop is over
Regards,
Stefan Batory