If or when?
If means: “on condition that”. When means: “each time this occurs”.
- Write when if you are sure the condition is going to occur, it's just a question when.
- Write if if the condition may or may not occur.
If means: “on condition that”. When means: “each time this occurs”.