If in a for loop I want to impose more than one condition, what is the precisie syntax to do that; Should the different conditions only be separated by a ","
I want "do something" to occur only if condition 1 and condition 2 are fulfilled , is this the correct syntax?
Or should I add an and?
for(;condition 1, condition2
do something
I want "do something" to occur only if condition 1 and condition 2 are fulfilled , is this the correct syntax?
Or should I add an and?
for(;condition 1, condition2
do something