changed to str_to_num/num_to_str

This commit is contained in:
Felix Geyer
2004-03-08 17:34:37 +00:00
parent 87378017fd
commit af26dc83a5
10 changed files with 16 additions and 16 deletions

View File

@ -54,8 +54,8 @@ public sayTheTime(id){
new mhours[6], mmins[6], whours[32], wmins[32], wpm[6]
get_time("%H",mhours,5)
get_time("%M",mmins,5)
new mins = str_to_int(mmins)
new hrs = str_to_int(mhours)
new mins = str_to_num(mmins)
new hrs = str_to_num(mhours)
if (mins)
num_to_word(mins,wmins,31)
else
@ -154,7 +154,7 @@ public setDisplaying(){
while (i < argc && i < 32){
read_argv(i+1,arg,31)
parse(arg,flags,31,num,31)
g_TimeSet[i][0] = str_to_int(num)
g_TimeSet[i][0] = str_to_num(num)
g_TimeSet[i][1] = read_flags(flags)
i++
}