EasyManua.ls Logo

Crestron SIMPL+ - Page 312

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...
Software Crestron SIMPL+
®
302 z SIMPL+
®
Language Reference Guide - DOC. 5797G
x = x + y + myFunc(1); // ok
break;
}
}
}
}
return (1);
}
INTEGER_FUNCTION AnotherFunc( INTEGER i )
{
x = (1 + str); // error – cannot add an integer
// and string
if ( x > “abc” ) // error – cannot compare an
integer
// and string
{
if ( str ) // error – cannot check the
validity
// of a string
{
if ( str = MyFunc(1) ) // error – cannot add strings
// and integers together
{
while ( str < “abc” ) // ok
{
x = (x + ); // error – incomplete expression
break;
}
}
}
}
return (1);
}

Table of Contents