24.03.2013, 12:04
1. random is the not same as Random
2. if you want either 1 or 0 use random(2)
where max is number passed
2. if you want either 1 or 0 use random(2)
Quote:
A random number ranging from 0 to max-1. |