seafight17 0 Posted March 18, 2016 I got 5 varriables type int counterA:=0; counterB:=0; cx counterC:=0; counterD:=0; counterE:=0; The script runs these change values. Now i want once i stop the script these values to be saved auto. Any way that happen? So far i ended up with that (i have to copy paste sadly) writeln ('counterA:='+inttostr(counterA)+';'); writeln ('counterB:='+inttostr(counterB)+';'); writeln ('counterC:='+inttostr(counterC)+';'); writeln ('counterD:='+inttostr(counterD)+';'); writeln ('counterE:='+inttostr(counterE)+';'); Quote Share this post Link to post Share on other sites
Wanted 12 Posted March 19, 2016 Your simplest route is to use WriteINI and ReadINI. Quote Share this post Link to post Share on other sites