Pointer operator * and address operator &
No pointers. None. The * symbol never means pointer in ScriptEase, which might cause seasoned C programmers to gasp in disbelief. But the situation turns out not to be such a big deal. The pointer operator is easily replaced. For example, *var can be replaced by var.
Because it is common in C to use address arithmetic on string, ScriptEase providces the CString object, which provides most of the array and address functionaliity of a C string pointer. The following function displays the string in the variable s. In the first display line shows:
The second display line, which uses address arithmetic "s+2" shows:
function main(argc, argv)
var s = new CString("abcde");
function SetNumbers(&n1, n2, &n3, &n4)
n1 = n2 = n3 = n4 = 5;