IRandom

From Doors CS
Jump to: navigation, search

Contents

Description

Returns a random number within set bounds, such that the returned value a is, in relation to the input upper bound b: 0<=a<b

Technical Details

Inputs

b = One larger than the highest random number this routine may return

Outputs

a = A random number between 0 and b-1, inclusive.
b = 0

Destroyed

af and bc only

Personal tools