isnum - 21/04/04 07:22 AM
I have a txt that is setup nicely for tokenize each line looks like this
03:54:25 ¿ 20/04/2004 ¿ 43 ¿ Alpha ¿ Alphas's home mix
$1 is time $2 is date $3 is the listener count $4 is the dj and $5 is the song. Now I'm trying to loop through and check $3 with some ifs to make a graphical page of the listener count, so far everything i try doesnt work. Ive tried if ($3 > 0) && ($3 <= 5) and so on and I also tried a few isnum ways. any ideas?
03:54:25 ¿ 20/04/2004 ¿ 43 ¿ Alpha ¿ Alphas's home mix
$1 is time $2 is date $3 is the listener count $4 is the dj and $5 is the song. Now I'm trying to loop through and check $3 with some ifs to make a graphical page of the listener count, so far everything i try doesnt work. Ive tried if ($3 > 0) && ($3 <= 5) and so on and I also tried a few isnum ways. any ideas?