0 Members and 3 Guests are viewing this topic.
A?Pt-On(X,Y,Pic1)
Code: [Select]A?Pt-On(X,Y,Pic1)Is supposed to throw an error? It seems like every time I try to do a Pt-blarg() it errors
Ok, good to know.Another one. Is Buff()/Zeros()/det() in any of the menus? I haven't been able to find it outside the catalog..
In other news, Frey continues kicking unprecedented levels of ass.
Why can't we abuse the ? operators?I want to be able to doQ?If blargStuffQ?End
Quote from: Freyaday on September 30, 2011, 12:05:56 amWhy can't we abuse the ? operators?I want to be able to doQ?If blargStuffQ?EndWhat exactly would that do? O_o
Theoretically, it could be abused, but it wouldn't be any more optimized than a regular if statement, just more cluttered and less readable. I added the ? and ?? as operators specifically to avoid chains of if/while statements like If A:If B:If C:something:End:End:End should just be if A?B?C:something:End. I don't want to allow intentionally misleading code as legal syntax when there is already a better way to represent it.