/* Core functions * * (c) Copyright 1998-2001, ITB CompuPhase * This file is provided as is (no warranties). */ #if defined _core_included #endinput #endif #define _core_included // Pawn seem to use another method for these native numargs(); native getarg(arg, index=0); native setarg(arg, index=0, value); native strlen(const string[]); //native strcmp(const string1[], const string2[]); #if defined _strcmp_defind #else native strcmp(const string1[], const string2[]); #define _strcmp_defind #endif native strcpy(const string1[], const string2[]); native strcat(const string1[], const string2[]); 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 OZToString(val, string[]) = ToString; stock itoa(integer, array[], base) { return OZToString(integer, array); } stock atoi(string[]) { new result for (new i = 0; ('0' <= string[i] <= '9'); i++) result = result * 10 + (string[i] - '0') return result } //native ToFile(value); #endif