Hi everyone,
got a little problem
i first define a constant like this :
define (my_const, 30);
and then later i use it that way :
switch ($my_value)
{
case $my_const:
// do somethin'
break;
}
when i run my code, it don't recognize it and don't execute the code under the case.
is it because its an integer value or what?
I know my code work 'cause when i change $my_const for a value, it's doing what it's suppose to do.
thanks for the help!
Jacinthe