logo
Home XtGem- Templates- XtScript- bottom
Functions are defined using the function statement
[...] = optional ... = your value
function_name[ $first_var=...; $more_vars=... ; $last_var=...]
[...]
endfunction
[var $... = ]call function_name[ $first_var=...; $more_vars=... ; $last_var=...]
Functions can be defined in the current script
or in a .xt file stored locally or anywhere on the web.
Functions can also be called from html
The Function must be defined in a Xtscript on the same page
or included from elsewhere
<xt:call function="..." first_var="..." more_vars="..." last_var="..."/>
or like this
<xt:call function="..." args="$first_var=...;$more_vars=...;$last_var=..." />
Show as text
Show as text
Reload
Direct
17
297
Local
938
External
2102
Html direct
5043
Html local
6479
Html external
7721
Powered by XtGem
About us Contact Forum topÂ