um..well
cough! cough!
I copy and pasted your program Marc in the Lite C
script ediotr and it wouldn't compiler due to some errors. After about 10 minutes or so going thru the whole program...I noticed there was no closing bracket for the function main.
So, I added a closing bracket and the program compiled and ran.
Here is the modified program:
////////////////////////////////////////////////////////////////////
#include <acknex.h>
#include <default.c>
var a = 7;
var b = 10;
var c = 0;
/////////////////////////////////////////////////////////////////////
PANEL* panDisplay =
{
digits(35, 10, "a = %0.f", *, 1, a);
digits(35, 19, "b = %0.f", *, 1, b);
digits(35, 28, "c = %0.f", *, 1, c);
flags = VISIBLE;
}
/////////////////////////////////////////////////////////////////////
function main()
{
video_mode = 7; // create a program window of 800x600 pixels
screen_color.blue = 150; // and make its background dark blue
while (1)
{
c = a + b;
wait (1);
}
}
its cool to style and indent your code.

If you want and like.