Skip to content
madprops edited this page Aug 2, 2017 · 1 revision
var something;

function create_something()
{
	var s = "";

	s += "something<br>";
	s += "other thing<br>";
	s += "another thing";

	something = s;
}

function show_something()
{
	if(something === undefined)
	{
		create_something();
	}

	msg.show(something);
}
Clone this wiki locally