Added abs(x) stock

This commit is contained in:
Pavol Marko 2005-09-08 12:58:17 +00:00
parent 729932476b
commit 227c13d12c

View File

@ -38,4 +38,9 @@ native sqroot(value);
native time(&hour=0,&minute=0,&second=0);
native date(&year=0,&month=0,&day=0);
native tickcount(&granularity=0);
native tickcount(&granularity=0);
stock abs(x)
{
return x > 0 ? x : -x;
}