Is this line actual code or pseudocode?

>       if(launchCode == Normal or SysReset)

Even if you have the actual "or" operator (||),
that is not the proper way to perform a "is x
equal to this or that" kind of test.

Please tell me that it's pseudo-code...

-- 
-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi./sec ... not just a good idea, it's the LAW!


> -----Original Message-----
> From: Jeff Valore [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 07, 1999 3:53 PM
> To: [EMAIL PROTECTED]
> Subject: RE: SystemReset limitations?
> 
> 
> The "PC-relative strings" box is checked, and I commented out 
> the entire
> program except:
> 
> DWord PilotMain( Word launchCode, Ptr cmdPBP, Word launchFlags)
> {
>       Err err = 0
>       if(launchCode == Normal or SysReset)
>       {
>               char *dbNames[] = {/*bunch of strings*/};
>       }
>       return err;
> }
> 
> It still dies :)
> 

Reply via email to