seafight17 Posted March 18, 2016 Share 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 Link to comment Share on other sites More sharing options...
Wanted Posted March 19, 2016 Share Posted March 19, 2016 Your simplest route is to use WriteINI and ReadINI. Quote Link to comment Share on other sites More sharing options...