Products Downloads


French version


 


VADELIA

      

      

      

   EADELIA   

(I/B) (C)




(B) (C)


NB: this instruction is used in a VADELIA program producing a REST Web service or in a VADELIA program generated in Adelia Cloud.


Section for use

All


Syntax

If iObject INSTANCE_OF AdeliaClassName



Description

This instruction is a logical operator. It can only be used in a conditional expression.


The condition is true if the iObject CLASS_REF variable is an instance of the AdeliaClassName class.

The left operand must be a CLASS_REF variable.

The right operand must be a class name.


Example

iPerson CLASS_REF(CPERSON)


iObject CLASS_REF(*OBJECT)


IF iObject INSTANCE_OF CPERSON


END


See also the list of 4GL instructions by topic

↑ Top of page

  • Aucune étiquette