2004-01-31 20:56:22 +00:00
|
|
|
/* Core functions
|
2004-02-08 11:31:54 +00:00
|
|
|
*
|
|
|
|
* (c) Copyright 1998-2003, ITB CompuPhase
|
|
|
|
*
|
|
|
|
* This file is provided as is (no warranties).
|
|
|
|
*/
|
2004-01-31 20:56:22 +00:00
|
|
|
|
|
|
|
native heapspace();
|
|
|
|
|
|
|
|
native funcidx(const name[]);
|
|
|
|
|
|
|
|
native numargs();
|
|
|
|
native getarg(arg, index=0);
|
|
|
|
native setarg(arg, index=0, value);
|
|
|
|
|
|
|
|
native strlen(const string[]);
|
|
|
|
native strpack(dest[], const source[]);
|
|
|
|
native strunpack(dest[], const source[]);
|
|
|
|
|
|
|
|
native tolower(c);
|
|
|
|
native toupper(c);
|
|
|
|
native swapchars(c);
|
|
|
|
|
|
|
|
native random(max);
|
|
|
|
|
|
|
|
native min(value1, value2);
|
|
|
|
native max(value1, value2);
|
|
|
|
native clamp(value, min=cellmin, max=cellmax);
|
|
|
|
|
|
|
|
native power(value, exponent);
|
|
|
|
native sqroot(value);
|
|
|
|
|
|
|
|
native time(&hour=0,&minute=0,&second=0);
|
|
|
|
native date(&year=0,&month=0,&day=0);
|
|
|
|
|
2004-02-15 02:29:51 +00:00
|
|
|
native tickcount(&granularity=0);
|