Download exte.notice

Back to the list

Display this manual page in
$$$$ EXTE     NOTICE  CHAT      11/09/12    21:16:09     7124           
                                             DATE     11/09/12
                                             
  Operateur EXTE                           Voir aussi :
    --------------   
    TABS = EXTE COMMANDE (! ENTIn     ) .....            ;
                          ! FLOTn
                          ! MOTn
                          ! LISTREELn
                          ! LISTENTIn
                          ! TABLEn
                          ! 'RC'


    Description :
    ____________

    The EXTE operator calls a command external to Castem, sends it
values and stores in a TABLE the outputs.

    The external command reads the values on it's standard input and
writes results on it's standard output.

    If a TABLE is given, it's content (indiced by positive integers)
is transmitted.

    The keyword RC indicate one wants to insert a carriage return.

    Results are stored in the TABS TABLE, indiced by integers.

    Example :

 TABS = EXTE 'bc' 1 + 2 'RC' 3 * 6 'RC';

    EXTE calls the unix command bc (basic calculator) and transmit it
the input 1 + 2 then on an other line the input 3 * 6.

    After the execution, on an UNIX system with bc, TABS has with
index 1 the integer 3 and with index 2 the integer 3. Otherwise TABS
is empty.
 
 

© Cast3M 2003 - All rights reserved.
Disclaimer