14.04.2013, 17:53
Today I learned:
You can do stuff like
Also if you try:
As expected you get compile-time assertion, but when you try something like:
You will find a code from few lines below as assertion text, you can in that strange way send message to the person that is compiling, example:
input:
dialog error output:
You can do stuff like
pawn Код:
#tryinclude test"
#tryinclude test>
pawn Код:
#tryinclude a_samp"
#assert defined a_samp"
pawn Код:
#tryinclude a_samp>
#assert defined a_samp>
input:
pawn Код:
#assert defined _inc_a____________________samp>
// Buffer ov..fuckover?AAAAAAAAAAAAAAAAA\\
// n\/
pawn Код:
.\pawno\Untitled.pwn(23) : fatal error 110: assertion failed: Buffer ov..fuckover?AAAAAAAAAAAAAAAAA\/
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.