Can I put if statements in a user defined function?
(You just know more questions about this assignment will be coming...hehe)
Thanks,
Extro
Can I put if statements in a user defined function?
(You just know more questions about this assignment will be coming...hehe)
Thanks,
Extro
Have you tried putting if statements in a user defined function?
Yup, didnt work, just wondered if I can out an if statement in a user-defined function
Thanks,
Extro
Last edited by Extropian; 08-15-2005 at 09:39 PM.
You can put if statements in user-defined functions.Code:int MyFunc(int Blah) { if (Blah == 0 ) return 0; return 1; }
Pentium 4 - 2.0GHz, 512MB RAM
NVIDIA GeForce4 MX 440
WinXP
Visual Studio .Net 2003
DX9 October 2004 Update (R.I.P. VC++ 6.0 Compatability)
Thank you