+ 1
Is it possible to have a range like this ?
range(2,100,2,2) or the maximum for the range is three characters?
8 Antworten
+ 3
no it's not possible. A range can only contain the beginning number, the end number and the step making it three arguments
+ 2
What would your fourth argument do?
+ 2
you'd get an error message because a range can take only three arguments
+ 2
Thanks all
+ 2
you're welcome
+ 1
A range is normally from one number to another, with a step (or 1 if not specified)
+ 1
Xan so it is not possible.
+ 1
Jay Matthews (whispering) Where is the explanation?!