/*
Print details if any
*/
sys.push_prog("print.detail");
/*
If page break caused by nested program
then exit current page.
In most cases it is not necessary to check
if a page boundary was crossed because
sys.skip() will cause an exit page if you
skip past a page boundary.
*/
if (sys.get_pagediff())
sys.exit_page();