arrays
Displaying 1-2 of 2 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
chanman

verge is giving me an error: expecting ",", got "[" instead
is my code wrong or something?


void fontLoader()
{
int font[2];

font[0] = loadFont("fonts\smallFont.png");
font[1] = loadFont("fonts\mainFont.png");

enableVariableWidth(font[0]);
enableVariableWidth(font[1]);
}

Posted on 2004-06-01 02:51:36 (last edited on 2004-06-01 02:58:12)

mcgrue

int font[2];

should be in the global space.

Posted on 2004-06-01 03:17:37


Displaying 1-2 of 2 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.