Removed bad str/num funcs

This commit is contained in:
David Anderson 2004-03-08 06:07:47 +00:00
parent aad8f2bb24
commit 08b3491f52

View File

@ -35,16 +35,22 @@ native format(output[] ,len ,const format[] , {Float,_}:...);
native format_args(output[] ,len ,pos = 0); native format_args(output[] ,len ,pos = 0);
/* Converts number to string. */ /* Converts number to string. */
native numtostr(num,string[],len); native num_to_str(num,string[],len);
stock int_to_str(num, string[], len)
return numtostr(num, string[], len);
/* Returns converted string to number. */ /* Returns converted string to number. */
native strtonum(string[]); native str_to_num(const string[]);
stock str_to_int(string[]) stock int_to_str(num,string[],len)
return strtonum(string) return num_to_str(num,string,len)
stock str_to_int(const string[])
return str_to_num(string)
stock numtostr(num,string[],len)
return num_to_str(num,string,len)
stock strtonum(const string[])
return str_to_num(string)
/* Checks if two strings equal. If len var is set /* Checks if two strings equal. If len var is set
* then there are only c chars comapred. */ * then there are only c chars comapred. */