this is a method that i don´t like to use
- Code: Select all • Expand view
function int ibm_negativo(int a)
{
int x;
if (a<0)
x=1;
else x=0;
return x;
}
here is how it should be (like in c)
- Code: Select all • Expand view
function int ibm_negativo(int a)
{
int x;
if (a<0)
return 1;
else return 0;
}
but in doom builder i can´t compile without a return on the end
I´m not going to talk it´s a easy thing to do, but if acs similar to c, i really don´t thing it´s a difficult thing to do, just a little modify on the acs compiler and voala \o/

