////////////////////////////////////////////////////////////////////
#include <acknex.h>
#include <default.c>
#define PI 3.14159
int f = 0;
int l = .00000012;
int c = .0000000000020;
/////////////////////////////////////////////////////////////////////
PANEL* panDisplay =
{
digits(35, 10, "f = %0.f", *, 1,f);
digits(35, 28, "l = %0.f", *, 1, l);
digits(35, 38, "c = %0.f", *, 1, c);
flags = SHOW;
}
/////////////////////////////////////////////////////////////////////
function main()
{
screen_size.x = 800;
screen_size.y = 600;
screen_color.blue = 150; // and make its background dark blue
while (1)
{
f = 2*PI * sqrt*(l*c)/1
wait (1);
}
}