Read


From Header Array File:

Read TOTSALES from file IO header TSAL ;

From Text Array File:

Read (all,i,COM) INTINP(i,wool) from file PARAMS; ! from text file!

From Terminal (user)

Read INTINP from terminal;

For READ (BY_ELEMENTS) see mapping.

IfHeaderExists qualifier New for GEMPACK 9.0

means: If the header is present, the data is read from it. Otherwise no error occurs.

Example:

Coefficient (All,c,COM) ELAST(c) ;

Formula (All,c,COM) ELAST(c) = 1 ; ! the default value !

Read (IfHeaderExists) ELAST from File INPUT Header ELAS ;

The read is carried out only if header ELAS exists on the INPUT file. If the header is not there, the formula values are used.

 

back to TABLO language contents



URL of this topic: www.copsmodels.com/webhelp/tabmate/hc_read.htm

Link to full GEMPACK Manual

Link to GEMPACK homepage