Crash!!

Posted By: Sorrowful

Crash!! - 06/09/12 18:46

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

////////////////////////////////////////////////////////////////////

var yukseklik = 0;
PANEL* first_pan =
{
bmap = "frame.pcx";
window (40, 10, 178, 160, "height.pcx", 0, yukseklik);
flags = SHOW;
}

function yap()
{
	yukseklik = yukseklik+15;
}
	
function main()
{
	video_mode = 7; 
	screen_color.blue = 150;
	on_space = yap();
}



What went wrong there ? Engine get "Script Crash in"
Posted By: Widi

Re: Crash!! - 06/09/12 18:50

on_space = yap();
should be:
on_space = yap;
Posted By: Sorrowful

Re: Crash!! - 06/09/12 18:51

ok thanks grin
© 2023 lite-C Forums