I'm trying to use a constant as a parameter into a function, but for some reason I'm getting the error "Expecting a close paren". I'm sure its an easy mistake...
#Define ON 1;
void Turn_On(int1 ON){
Stuff
}
jma_1
Joined: 08 Feb 2005 Posts: 147 Location: Wisconsin
Posted: Mon Nov 14, 2005 12:40 pm
Look at the previous statement before your function call (no semi-colon)
Cheers :-)
Mark
Joined: 07 Sep 2003 Posts: 2838 Location: Atlanta, GA
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum