Crestron SIMPL+
Language Reference Guide - DOC. 5797G
®
structArr[1].structArrMember[2] = 8; // ok – proper 'dot'
notation
j = 2;
structMember = 10;
structMember[1] = 11;
array
k = AnotherFunc();
}
INTEGER_FUNCTION AnotherFunc()
{
k = 5;
x = 6;
Call MyFunc();
Call MyFunk();
return (1);
}
// error – j is not declared
// error – improper 'dot' notation
// error – structMember is not an
// error – AnotherFunc() was not
//
declared previously
// error – k is a local variable of MyFunc()
// error – x is a local variable of MyFunc()
// ok
// error – spelling error
Software
®
SIMPL+
291