Thank you soooo much!!!! Wow, this community is so helpful, quick, and very knowledgable ine what they do laugh

I just have one more question. I did what you guys said, I switched it to .c extension, and I put the semicolons on, and then I put the asteriks* on BMAP and PANEL, but now, when I try it, there are 2 errors.

This is how the code looks now:

Quote:
#include <achnex.h>

var tops_score = 0;
var bottoms_score = 0;
BMAP* left_border = "border_left.bmp";
PANEL* border_left =
{
pos_x = 0;
pos_y = 0;
layer = 1;
bmap = left_border
flags = VISIBLE
}

function main()
{

screen_color.blue = 150;
}


This is what it says when I try to test run it.

Compiling PING_PONG_TEST2.C...
Error in 'MAIN' line 2: Include file achnex.h not found

<#include <achnex.h> >

Error in 'MAIN' line 4: 'var' undeclared identifier

< var tops_score = 0; >

.
Can't compile PING_PONG_TEST2.C
Startup failure - any key to abort



PS: I took out the #include <achnex.h> line of code, and it cut out that error when trying to run it, so I guess I didn't need that. But now, it still says that my 'var top_score = 0;' that 'var' is undeclared identifier. What does this mean?

Last edited by MrTwiggy101; 11/29/08 21:11.