This is an old revision of the document!
<- PRPL reference <- Everything Else 2
Arguments | Result | Notation |
---|---|---|
Number 1, Number 2 | Number | [ i1 i2 - i3 ] |
Returns a random number from a range of two numbers exclusive of the max number.
int max = GetIntFromStack(); int min = GetIntFromStack(); stack.Push(new Data(min+amt)); 0 10 RandInt ->Int //Picks a random number between 0 and 10, will never pick 10. But can pick 0 <-Int trace