[ Post New Message | Post Reply to this One | Send Private Email to Steve Heller | Help ]


from Steve Heller (stheller@koyote.com)
The write function writes the ascii code for a 0 character out, as one of its purposes is to converts values to ascii format for display. The if statement, on the other hand, is comparing the value of the string Expires to a literal "0"; if you changed that statement to say:
  if (Expires == 0)
that would try to compare the string Expires to the number 0. I don't think that would compile, but if it did it wouldn't work.
(posted 6893 days ago)

[ Previous | Next ]