I have used every specifier that I know of to display the Variable 15 in the digits line. Can someone help me with the digits line and show me how to display 15. I have tried the integer specifiers but the only specifier that works after % is %f. I'm about to pull my hair out. because I want a integer to show not a float.


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

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

var STR = 15;


PANEL* stats = {	
	digits(300, 250, "STR: %  ", *, 1, STR);	
	flags = SHOW;
}


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

function main()
{
	video_mode = 7; 
	screen_color.blue = 150;
}




A8 Commercial