Ellipsis operator between strings
#9

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..

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, ...};
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!
Reply


Messages In This Thread
Ellipsis operator between strings - by Scottas - 21.07.2011, 09:47
Re: Ellipsis operator between strings - by Patrik356b - 21.07.2011, 09:52
Re: Ellipsis operator between strings - by Scottas - 21.07.2011, 10:03
Re: Ellipsis operator between strings - by Calgon - 21.07.2011, 10:36
Re: Ellipsis operator between strings - by Scottas - 21.07.2011, 12:01
Re: Ellipsis operator between strings - by Vince - 21.07.2011, 13:08
Re: Ellipsis operator between strings - by Scottas - 21.07.2011, 13:38
Re: Ellipsis operator between strings - by Scottas - 21.07.2011, 14:54
Re: Ellipsis operator between strings - by RSX - 21.07.2011, 15:00
Re: Ellipsis operator between strings - by Patrik356b - 21.07.2011, 16:22

Forum Jump:


Users browsing this thread: 8 Guest(s)