Alastair:

I have been doing this for years without any problems.

Javier,

 

Javier Valencia, PE

President

Valencia Technology Group, L.L.C.

14315 S. Twilight Ln, Suite #14

Olathe, Kansas 66062-4578

Office (913)829-0888

Fax (913)649-2904

Cell (913)915-3137

================================================

Attention:

The information contained in this message and or attachments is intended

only for the person or entity to which it is addressed and may contain

confidential and/or privileged material.  Any review, retransmission,

dissemination or other use of, or taking of any action in reliance upon,

this information by persons or entities other than the intended recipient

is prohibited. If you received this in error, please contact the sender and

delete the material from all system and destroy all copies.

======================================================

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Alastair Burr
Sent: Wednesday, August 18, 2004 12:44 PM
To: RBG7-L Mailing List
Subject: [RBG7-L] - IF... THEN query

 

Is it permissible to combine conditions with AND in the statement like this:

 

IF x=1 AND y=2 THEN

...

ENDIF

 

or is it better to break it into two parts:

 

IF x=1 THEN

  IF y=2 THEN

...

  ENDIF

ENDIF

 

I don't remember having any problems in the past but one particular piece of code seems only to work the second way at the moment and I can't find any other error.

 

(This is an error that's been around for a while so it's not an upgrade problem.)

 

Regards,
Alastair.

 

----------------------------------
A D B Burr,
St. Albans, UK.
----------------------------------
[EMAIL PROTECTED]
----------------------------------

Reply via email to