Products Downloads


French version


 


ADELIA

VADELIA

SADELIA

WADELIA

EADELIA

(I/B)

(I/B) (C/S)

(B) (S)

(I/B) (C/S)

(B) (C/S)


Section for use

All


Syntax

IF Condition1 AND Condition2

DO_WHILE Condition1 AND Condition1


Description

This instruction is a linking logical operator between two conditions Condition1 and Condition2.


It can be used in conditions (with the IF and DO_WHILE instructions).

With VADELIA and SADELIA programs, it can also be used in a boolean variable assignment.

It can be used in conjunction with the OR instruction.


Example

IF COUNTRY = 'USA' AND CITY <> 'CHICAGO'

*

*

IF ( COUNTRY = 'USA' AND CITY <> 'CHICAGO' ) OR ( COUNTRY <> 'USA' AND CITY = 'CHICAGO' )

*

*

DO_WHILE WORK_DATE <= SELECT_DATE AND NB_HOURS BETWEEN LOW_LIMIT;HIGH_LIMIT

*

*

DO_WHILE CUSTOMER_NAME START_WITH 'G' AND CUSTOMER_CITY START_WITH 'G'


↑ Top of page

  • Aucune étiquette