Did you know Bot Libre also provides free hosted forums for your own website or mobile app?
Bot Libre Forum : random remembered

RE: random remembered

by admin posted Jan 1 2018, 8:33

There are three random functions in Self.

var choice = random("hello", "hi", "Hey");

var list = [ "hello", "hi", "hey" ];
var choice = list.random();

var object = new Object();
object.name =+ "Jon";
object.name =+ "Jonny";
var choice = object.random(#name);


Id: 20374769
Posted: Jan 1 2018, 8:33
Replies: 0
Views: 1728, today: 1, week: 5, month: 13
0 0 0.0/5