Formula


Formula (all,i,COM) HOUSSH(i) = HOUSCONS(i)/TOTCONS ;

Formula (always) HOUSSH(Textiles) = 3.72;

Formula (all,i,COM: H(i) > 1.0) HSALES(i)= SUM(j,IND, INTINP(i,j) ) ;

Formula NIND = 10 ;

Formula (initial) (all,i,SECT) PCOM(i) = 1.0 ;

Formula (initial,

write updated value to file upd_prices

header ABCD longname <words> )

(all,c,COM) PHOUS(c) = 1 ;

Formula (initial) (all,c,COM) WGT(c)= WGT(c) + if(WGT(c)=0.0, 0.01);

Formula (Initial) is an alternative to Read: each is a way of initializing a coefficient that will be updated. As seen above, you can arrange for these updated values to be written to a header array file. The logical file appearing in the WRITE UPDATED must be a header array file declared using the FOR_UPDATES or OLD qualifier.

back to TABLO language contents

see MAKE example: cancelling off-diagonal elements



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

Link to full GEMPACK Manual

Link to GEMPACK homepage