expr ? : error
there is error in ? : expr , try compile this
program PE32_CUI 'test application';
#include 'platform_def.zir';
#include 'console.zir';
function abs(int32 n)
{
eax = (n >= 0) ? n : -n;
}
edx = abs(100);
print('Number: ', [dword]edx ,'\r\n');
wait_key();
ExitProcess(0);
http://www.freewebs.com/ogremagic/index.htm