home *** CD-ROM | disk | FTP | other *** search
- <<* MSASAYS.INC *>>
- <<#
-
- procedure WriteSayFlds
- begin
- forecolor := 32000 <<*Force SET COLOR TO*>>
- backcolor := 32000
- forall fields
- GenColorAtr
- genln( rtrim( getFIELD( false ) ) ) <<*Force fldnam*>>
- endfor
- end <<*WriteSayFlds*>>
-
-
- procedure GenSaysBody
- begin
- select fields on (fldtyp $ 'CDLN')
- if fldtotal > 0
- if ismultipage
- genln( 'DO CASE' )
- forall pages
- if fldtotal > 0
- genln( 'CASE pageno=',pagcount )
- pushmargin( 1 )
- WriteSayFlds
- popmargin
- endif
- endfor
- genln( 'ENDCASE' )
- else <<* Single page format *>>
- select page 1
- WriteSayFlds
- endif
- genln( 'CLEAR GETS' )
- endif
- select all fields
- end <<*GenSaysBody*>>
-
- <<* EOF: MSASAYS.INC *>>
- #>>