| United States-English |
|
|
|
![]() |
HP Fortran Compiler for HP-UX: HP Fortran Programmer's Reference > Chapter 10 HP
Fortran statementsIF (logical) |
|
Conditionally executes a statement. Syntax
DescriptionThe logical IF statement is a two-way decision maker. If logical-expression evaluates to is true, statement executes and control passes to the next statement. If logical-expression evaluates to false, statement does not execute and control passes to the next statement in the program. Examples
Related statementsIF (arithmetic) and IF (construct) Related conceptsFor information about flow control statements, see “Flow control statements”. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||