comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: AND statements
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: AND statements [message #14428] Fri, 05 March 1999 00:00 Go to previous message
Steve Scheele is currently offline  Steve Scheele
Messages: 6
Registered: February 1999
Junior Member
I wrote the previous message late at night - it really wasn't what I was
thinking. I think that compound AND statements can be concisely written as;

If Not (A EQ 0) Then If B/A GT 5 Then . . .

Formed in this manner, the second part will not be evaluated is the first
part is false. The problem that I have is with the OR statement. Something
like

If A EQ 0 OR B/A GT 5

will blow up on A=0

I haven't really figured out a good way to implement this type of OR
statement.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: image scaling with object graphics
Next Topic: TRANSREAD - read ASCII tables

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:00:02 PDT 2025

Total time taken to generate the page: 0.00460 seconds