Hello,

we try to do a manual page break when a specific physical y position is reached.
When we try to do the preview the error "Error converting file: execstackoverflow" occurs.
Then an error "P0054: There was an error converting to PDF." is shown.

We try to do the page break with the following code:

Code:
  
function @doPageBreak()

if( gt( &physical.y, 10.0 ) )
  set(&current.line,&current.line + 1)
  store(&current.line,&str)
  doform()
  clearpage()
endif()

endfunction()
Can anyone give us a hint where the problem could be?

We use Planet Press Designer 5.3.4.2644.

Thanks.