On Thu, 22 Jul 1999 10:24:25 -0600, you wrote:
>I know this isn't directly vector related, but it will "kind of be" in the
>future. (wait a few months and you'll know what I'm talking about)
>
>I'm trying to read in the status port and compare it against a value, but
>it's showing some strange behavior.
>
>This doesn't work-
>
> if (_inp(statusreg) == VERSION) { blah blah }
>
>but this does-
>
> test = _inp(statusreg);
> if (test == VERSION) { blah blah }
>
>can anybody explain why this behaves this way?
If 'test' were a 'char' value, and '_inp()' returned an integer (or
the other way around), the above two routines would act differently.
-Zonn
Received on Thu Jul 22 12:02:11 1999
This archive was generated by hypermail 2.1.8 : Fri Aug 01 2003 - 00:31:28 EDT