Download obte.notice

Back to the list

Display this manual page in
$$$$ OBTE     NOTICE  CHAT      11/09/12    21:17:27     7124           
                                             DATE     11/09/12

    Operateur OBTENIR                        Voir aussi : ARGU
    -----------------                                     MESS   
    OBTENIR  OBJET1*TYP1  ( OBJET2*TYP2 ....) ;


    Description :
    _____________

    Inserted in a GIBI data set, the OBTENIR operator
 enables the user to get one or several TYPi type objects
 in interactive mode. 


    Note :
    ________

    The type may be omitted ; in this case, do not mention
 the * .
 
    If one or several requested objects are not supplied, an
 error message will be displayed.
 
    In the data stream, the obtained object will be identified
 by the name OBJET1.
     
    The input data can be : an ENTIER (integer) number, 
 a FLOTTANT (floating) number, a MOT (word), a LOGIQUE
 (VRAI-FAUX) (true-false), a LISTENTI, a LISTREEL or a name 
known to CASTEM2000.

    IN case of LISTENTI or LISTREEL it is only allowed to read
one object. The set of values can be read by several instructions. 
  
    
    Example :
    _________

    The LIREFLOT procedure is an example of use of OBTENIR.

         DEBPROC   LIREFLOT    UMIN*FLOTTANT  UMAX*FLOTTANT ;
         REPETER BLOC1 ;
         OBTENIR FL*FLOTTANT ;
         SI (( >EG FL UMIN) ET ( <EG FL UMAX))  ;
         QUITTER  BLOC1;
         FINSI ;
         MESSAGE ' DONNEZ UN NOMBRE COMPRIS ENTRE' UMIN 'ET' UMAX;
                   (Give a number ranging between UMIN and UMAX)
         FIN BLOC1;
         FINPROC FL;



 

© Cast3M 2003 - All rights reserved.
Disclaimer