![]() |
Empower C |
install tutorials examples documentation license about |
|
11.0.11 released on Jul 25, 2022 |
pf-out [ bytes-written [ define ] <bytes> ] <format> <expression> [ , <expression> ]...
pf-out bytes-written define bwritten "%s is %d", "the number", 20
The following is writing to client, outputting text for which the browser will interpret tags "<br/>" and "<hr/>" as a line break and a horizonal line and display them as such:pf-out "<hr/> %s <br/>", "This is a non-encoded output"
Create a query text string by means of write-string statement:void get_table_data (const char *table_name, num id_num)
{
//
// Construct the run-time text of dynamic SQL
//
write-string define qry_txt
@select * from <<pf-out "%s where id="%lld", table_name, id_num>>
end-write-string
}