Top  Previous  Next

Scripts > Class elements and c++ instructions > Other functions > random




int random(int num)




Number randomizer.


random returns a random number in the area of 0 to (num - 1). Both num and the random number returned are integer values.


Return value


random returns a number between 0 and (num-1).


This page belongs to the TextTransformer Documentation

Home  Content  German