must be a constant expression; assumed zero
#2

Quote:
Originally Posted by pawn-lang
Each \case clause" starts with the keyword case followed by a constant
list and one statement. The constant list is a series of expressions,
separated by comma's, that each evaluates to a constant value. The
constant list ends with a colon. To specify a \range" in the constant
list, separate the lower and upper bounds of the range with a double
period (\.."). An example of a range is: \case 1..9:".
"[...] followed by a constant list and one statement."

ye so thats how it is and there's no way of "fiddling" your way around that,
has to be a (or list of) constant value/s.
that's just how it is

but ya ik how you feel, back in the day i've also been trying all kinds of things,
wondering if it'll work differently too. Just stay curious and play around
Reply


Messages In This Thread
must be a constant expression; assumed zero - by GoldenLion - 17.12.2016, 19:17
Re: must be a constant expression; assumed zero - by CutX - 17.12.2016, 20:14
Re: must be a constant expression; assumed zero - by Konstantinos - 17.12.2016, 21:00

Forum Jump:


Users browsing this thread: 1 Guest(s)