OK, so here is my code

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

var press_shift = 0;
var charge_maximum = 100;

function shift_press()
{
if(!key_shift) press_shift = 0;
else press_shift = minv(press_shift+0.5*time_step, charge_maximum);
}


PANEL* shift_pan = {
	digits (30,10, 4, *, 1, press_shift);
	flags = SHOW;
}
function main()
{
	screen_size.x = 800;
	screen_size.y = 600;
	video_switch(0,0,2);
	screen_color.blue = 150; // dark blue
	shift_press();
}



and it`s not working...
I was trying, but probably Lite-C doesn`t like me so much as I like Lite-C tongue

What this code should do? Well, nothing important. I`m trying to move this charging to variable. When I`m pressing Left Shift, var should growing, but it doesn`t happen.
I was working witch many other languages before, with Lite-C as well, but that was centuries ago and I think I lost my talent tongue
Could you help me with this?
Thank you for any help.