ob_get_close
lib callCapy
function ob_get_close(request : capture any) string
Description
ob_get_close() returns the current output buffer contents and closes the buffer.
Output then returns to the previous buffer.
Parameters
request : the caller's request, captured when omitted
Return Values
the current output buffer contents
Example
Capy
ob_start()
print("captured")
var output := ob_get_close()
print(output, "\n")
Output
captured