Page 1 of 1

PostPosted: Thu Dec 11, 2003 3:27 am
by rickalty
Hello, everyone.

I am trying to get a return for the size of the screen using screenx() and screeny(). When I try to compile the program, though, both return undefined identifier. They're both in the documentation... what's wrong?

//test.c
main()
{
int myx,myy;
myx = screenx();
myy = screeny();
graph_on();
text(50,50,"point");
text(50,60,myx);
text(50,70,myy);
waitp();

}


Richard

PostPosted: Thu Dec 11, 2003 7:13 am
by wolfgang
Are you sure you didn't use the documentation for the WindowsCE/PocketPC version of PocketC? This version has many differences to the PalmOS version, especially what concerns the library funcions.

Wolfgang

Composing music on the PocketPC! - http://www.pdamusician.com