22.08.2013, 11:52
I have strange issue, here is code:
Compiler just crashes when trying to compile this code. Variable assignement works great, but when I use tagof after 'case' it stops working. Simple 'if' statement with tagof also works great.
pawn Код:
main()
{
new tag = tagof(Float:);
new a;
switch(tag)
{
case (tagof(Float:)):
{
print("ok");
}
case (tagof(bool:)):
{
print("okkkk");
}
}
}