Print by screen the text passed to the function adding a break line at the end.
1 println
<println console='true|false'>
<text /> ?
</println>
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 the command line has no effect. For a execution with 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 | Return the value passed to the function with a break line at the end. |
Example
Print with break line.
Copy
<xsql-script name='script_println_sample1'> <body> <set name='a' type='integer' value='2' /> <set name='b' type='integer' value='3' /> <println>variable a=<a/></println> <println>variable b=<b/></println> <println> operaci<string.noaccents>ó</string.noaccents>n (a+b)=<add><a/><b/></add> </println> </body> </xsql-script>
Returns:
Copy
variable a=2 variable b=3 operation (a+b)=5