Stops the execution of the script thread.
|Aname||string||Name of the variable.|
|string||Value introduced by the user.|
<xsql-script name='system_prompt_sample1'> <body> <set name='nombre'> <system.prompt>Introduzca su nombre: </system.prompt> </set> <println>The name which has been introduced is: <nombre/></println> </body> </xsql-script>
The result on screen would be the following:
Introdes its name: _
The execution of the script stops waiting for the user to enter a value.
Introduces its name: Smith_
Once the name is written, pressing the car return key, the execution of the script continues and shows the following text:
The name introduced is: Smith
You can observe as the informed value by the user, is stored in a variable called 'name', which is used in the screen printing.
<xsql-script name='system_prompt_sample2'> <body> <null name='nombre' type='string' /> <system.prompt name='name'>Introduces its name: </system.prompt> <println>Tha name that has been introduced is: <name/></println> </body> </xsql-script>
The value informed by the user is assigned, in the variable name, which is previously declared, of String type and initialized to null.