EasyManua.ls Logo

Crestron SIMPL+ - Page 301

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

Table of Contents