10.07.2015, 17:48
(
Последний раз редактировалось Darkwood17; 11.07.2015 в 07:04.
)
Quote:
You can't possibly know if it's been unsuccessful before having gone through the entire loop, therefore that message should be outside and after the loop. You will need to set a variable in case it was successful, otherwise the message will always be sent, regardless.
|