length of the name is 255 characters.
Upper/lower case of function names
It is possible, but not recommended, to implement functions
GuiXT will find the function even if the names are case-sensitive (if they
are ASCII characters) and will call the correct function if the names are
exactly the same, but the similar names make it a bit confusing.
With CallJS you can specify up to 50 parameters. The maximum length of the transferred value per parameter is about 8000 characters (the transfer of long text variables as well as structured variables is described below).
Aall in GuiXT for example with:
CallJS x =
Variable number of parameters
the individual parameters via an index 0,1,2,... as with an array. If
necessary, first convert them into a real array.
var a = ;
// convert arguments list to array
for (var i = 0; i < arguments.length; ++i)
// return list via "join"
return "(" + a.join(",") + ")";
CallJS mylist = buildList "London" "Rome" "Berlin"
It is not advisable to specify the content of a text
variable "mytext" in CallJS in the form "&text[mytext]", since the maximum
length is then limited to 8000 characters. Instead, just enter the name of
Similarly, you can write new content to the GuiXT text variables with
guixt.SetText(). The length is then not limited in either direction.
// Reading a GuiXT structure or table variable
var myobj = JSON.parse(guixt.Get(myvar));
// Writing a GuiXT
structure or table variable