GBOL

GBOL

Content Goes Here

 

GBOL 2.4.2

Save

Commands

if(sysout.userlines) { // nn lines command (prty)
		sysout.maxlines = sysout.userlines;
		stdout.style.height = '' + (sysout.maxlines * LH) + 'px';
		}
		else // lines = f(window height)
		sysout.maxlines = Math.floor( stdout.offsetHeight / LH);
		
		if(! sysout.maxlines) sysout.maxlines = 12;
		
		while (sysout.lines.length >=  sysout.maxlines) {
				sysout.lines.shift();
			    sysout.colors.shift();}
		sysout.lines.push(line);
		sysout.colors.push(color);
		var text = '';
		for (var i= 0; i< sysout.lines.length; i++)
		if(!sysout.colors[i])
			text += sysout.lines[i] + '
' ; else text+= "" + sysout.lines[i] + "
"; // ('' + txt + ""); stdout.innerHTML = text ;

Help

if(sysout.userlines) { // nn lines command (prty)
		sysout.maxlines = sysout.userlines;
		stdout.style.height = '' + (sysout.maxlines * LH) + 'px';
		}
		else // lines = f(window height)
		sysout.maxlines = Math.floor( stdout.offsetHeight / LH);
		
		if(! sysout.maxlines) sysout.maxlines = 12;
		
		while (sysout.lines.length >=  sysout.maxlines) {
				sysout.lines.shift();
			    sysout.colors.shift();}
		sysout.lines.push(line);
		sysout.colors.push(color);
		var text = '';
		for (var i= 0; i< sysout.lines.length; i++)
		if(!sysout.colors[i])
			text += sysout.lines[i] + '
' ; else text+= "" + sysout.lines[i] + "
"; // ('' + txt + ""); stdout.innerHTML = text ;