-
-
Notifications
You must be signed in to change notification settings - Fork 571
Tcl_script_eval
Paweł Salawa edited this page Jan 15, 2018
·
1 revision
Language: | Tcl |
---|---|
Plugin for language: | ScriptingTcl |
How to use: | Create custom SQL function. Suggested name: tcl |
Function arguments | code |
Function usage: | SELECT tcl('glob -nocomplain *'); -- lists files in current directory SELECT tcl('expr rand()'); -- generates random number |
Description: | Executes any Tcl code passed as a string in first argument to the function and returns result from that execution. |
eval [lindex $argv 0]