Code:
///////////////////////////////
#include <acknex.h>
#include <default.c>

///////////////////////////////
var a;

PANEL* pDisplay =
{
	pos_x = 10;
	pos_y = 10;
	digits (10, 10, "var a contains the number: %.0f", *, 1, a);
	flags = SHOW;
}

function main()
{
	video_mode=7;
	screen_color.blue = 150;
	random_seed(0);
	
	while(1)
	{
		a = integer(random(13));
		if(a == 1) {
			set(pDisplay, SHOW);
		} else {
			reset(pDisplay, SHOW);
		}
		wait(-1);
	}
}



have fun with it laugh


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/