Click here to make tpub.com your Home Page

Page Title: Use of a listing format for three or more conditions
Back | Up | Next

Click here for thousands of PDF manuals

Google


Web
www.tpub.com

Home

   
Information Categories
.... Administration
Advancement
Aerographer
Automotive
Aviation
Construction
Diving
Draftsman
Engineering
Electronics
Food and Cooking
Logistics
Math
Medical
Music
Nuclear Fundamentals
Photography
Religion
   
   

 



DOE-STD-1029-92
can be used to add emphasis in conditional statements, for instance, by starting
each new conditional term on a new line.
[3]
If two conditions are required and both of these conditions must be met, then place
the conditional term AND between the conditions. Begin a new line when
presenting the second condition and begin a new line with THEN and the action.
[4]
If two conditions are involved and one or both of these conditions must be met
before the action is taken, place the conditional term OR in underlined capital
letters between the conditions. Begin a new line when presenting the second
condition and begin a new line with THEN and the action.
[5]
If three or more conditions are described, consider using a decision table or a
listing format.
EXAMPLE 4-6. Use of a listing format for three or more conditions.
[6]
IF all of the following conditions exist,
A. Condition 1
B. Condition 2
C. Condition 3
THEN open CWS-HMOV-290, ECW pump discharge valve.
[6]
Avoid using AND and OR in the same conditional statement as the resulting logic
can be ambiguous and difficult to understand.
EXAMPLE 4-7. Avoid using AND and OR in the same statement.
Do not use:
[8]
IF
condition A OR condition B AND condition C,
THEN open valve D.
Use:
[8]
IF
condition A OR condition B,
AND condition C,
THEN open valve D.
41


Privacy Statement - Press Release - Copyright Information. - Contact Us

Integrated Publishing, Inc. - A (SDVOSB) Service Disabled Veteran Owned Small Business