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 VarId1 START_WITH VarId2OrConstantOrNumVal


Description

This instruction is a logical operator and can only be used in a condition.


The two operands situated on either side of the instruction must be of the same type (numeric or alphanumeric in an Adelia context, alphanumeric in a Visual Adelia context).


Warning: Blank characters at the end of fields are not taken into account.


Example

IF   Z_COUNTRY_CODE START_WITH '?'

CALL SELECT_COUNTRY Z_COUNTRY_CODE

END

*

* example in a subfile loop

MANAGE_SFL 1

IF   CUSTOMER_NAME START_WITH Z_SELECT_NAME

PRESENT CUSTOMERS

UPD_SFL

END

END_MANAGE_SFL



↑ Top of page

  • Aucune étiquette