Vely logo install

Vely 15.2.0 released on Jan 18, 2023
Articles updated Jan 17, 2023


Issues with this documentation page? Report here.


Outputs a string without encoding.


p-out <string>


p-out outputs a string expression given by <string>, without any encoding (meaning a string is output exactly as it appears). The string is sent to a client that made the request. If this is within write-string, then <string> is output into the buffer that builds a new string.


To output data verbatim to a client:

char *mydata="Hello world";
p-out mydata

Writing to client, outputting text followed by a horizontal rule - the text is output to a client (such as browser) as it is, and the browser will interpret tags "<br/>" and "<hr/>" as a line break and a horizonal line and display them as such:

p-out "This is a non-encoded output<br/>"
p-out "<hr/>"

Create a query text string by means of write-string statement:

void get_table_data (const char *table_name)
   // Construct the run-time text of dynamic SQL
   write-string define qry_txt
   @select * from <<p-out table_name>>

See also:

Output ( finish-output   output_statement   p-dbl   pf-out   pf-url   pf-web   p-num   p-out   p-path   p-url   p-web  )  SEE ALL (documentation)

Copyright (c) 2022 DaSoftver LLC. Vely is a trademark of Dasoftver LLC. The software and information herein are provided "AS IS" and without any warranties or guarantees of any kind. Vely elephant logo (c) 2022 DaSoftver LLC. This web page is licensed under CC-BY-SA-4.0.