RPGspDone Function


Writes the page to the browser after all other code has executed.


Syntax

RPGspDone()

This function does not accept any parameters.


Remarks

As an RPGsp page is being executed, the HTML content is accumulated in memory. RPGspDone writes the HTML from memory to the browser.

The function is called automatically by each RPGsp page when the RPG code is finished executing. The function call is generated by the RPGsp compile process. Under normal circumstances, there is no need for the developer to make an explicit call to this function.

Examples

The following example terminates an RPGsp page abruptly if the EndPgm indicator is on:


See Also

RPGspInit


Profound Logic Software, Inc.
www.ProfoundLogic.com
(937) 439-7925