Putpage

Top  Previous  Next

GAMS does automatic paging when the lines printed reaches the page height (ps) is reached.  Through the use of the command Putpage a page can be terminated and written to the file when the user desires.  Putpage forces the current page to be immediately written, making a new page available for Put statements.  Putpage can be used with output items.  When it is, the page is written including the output items contained in the Putpage statement.

 

Putpage OUT 'This text is placed in the window and the page ended';