You are right, i didn't know i need the ; after each assigment. It is now working. Thanks a lot.
Your code should work. Make sure you have ; after each assignment:
;
s0 = 0.09; i0 = 0.01; r0 = 0; trans = 3.2; recov = 0.02; tmax = 20;