User Tools

Site Tools


prpl:randint

This is an old revision of the document!


<- PRPL reference <- Everything Else 2

RANDINT

ArgumentsResultNotation
Number 1, Number 2 Number Inbetween [ i1 i2 - i3 ]

Description

Returns a random number from inbetween two numbers exclusive. (Min and Max Numbers wont ever be a result)

Examples

	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 0 or 10.
        <-Int trace
prpl/randint.1482321716.txt.gz · Last modified: 2025/02/14 14:56 (external edit)