ok new code, still will not compile. I need to make it compile befor I can start working on the math.


Code:
#include <acknex.h>
#include <default.c>
#define PI 3.14159

double f = 0;

double C = .000000000020;
double L = .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 = 1/ 2*PI*sqrt(L*C);
         
         wait (1);
   }
}


Why will this code not compile?
renny

Last edited by sadsack; 12/07/10 19:13.

I have A7 Commercial .............. Now I just need to learn how to use it