Print on screen the text passed to the function.
1 print
<print console='console'>
<text /> ?
</print>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Aconsole | boolean | false | Allows to send the text to the usertalk web console. If the XSQL-Script is executed from command line has no effect. For an execution with a session in Axional Studio the text will appear in the usertalk console. |
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Etext | String |
Returns | |
---|---|
Type | Description |
String | Returns the value passed to the function. |
Example
Print by screen a result.
Copy
<xsql-script name='script_print_sample1'> <body> <set name='a' type='integer' value='2' /> <set name='b' type='integer' value='3' /> <print>operación (a+b)=<add><a/><b/></add></print> </body> </xsql-script>