21.07.2011, 15:00
Actually that's useful in cases when you need to have really long string, that exceeds the defined maximum length of a line, so that's highly useful..
This code is equal to memset(...) basically it means that you fill the array (also in syntax { } structure is array) with the value. So it's not really meant only for invalid.
Edit : Ftw Lietuvai!
Quote:
That's actually not correct, because you use only 2 dots in a switch statement. The only use for the elipsis operator I can find (other than ******' post) is to initialize variables with an invalid value, for example: |
pawn Код:
new Text:gPlayerText[MAX_PLAYERS] = {INVALID_TEXT_DRAW, ...};
Edit : Ftw Lietuvai!