Re: Question on finding the number of defined array elements.
I'm pretty sure the reason Crestron doesn't do Pointers is because of
support. They tend to perform a lot of support that doesn't seem to
be "their problem" - issues that are clearly programming
By
fooguy89
·
#95707
·
|
Re: Question on finding the number of defined array elements.
Why?
You're just saying if some condition is true, then do nothing. Not
exactly something I'd typically see someone programming, but it *IS*
perfectly valid.
By
fooguy89
·
#95706
·
|
Re: Question on finding the number of defined array elements.
What error?
From the IF-ELSE:
"
IF ( <expression>)
[{]
<statements>
[}]
[ELSE]
[{]
<statements>
[}]]
...
In any section of the construct, if <statements> is
By
fooguy89
·
#95705
·
|
Re: Sierra router control
That module should get you some form of action - certainly at least
a response of some sort from the unit.
Are you seeing a string going out to the box in SIMPL Debugger but
nothing coming back?
By
Chip Moody <cfm@...>
·
#95704
·
|
Re: Sierra router control
Here's a basic command, I tend to use the V command more than
anything.
**V4,5,5,5,5,5,0,0!!
This will switch input 5 on levels 1,2,3,4,5 (RGBHV) to output 4,
while not changing the current source
By
Matt <mjrtoo@...>
·
#95703
·
|
Re: BenQ W20000 Projector Protocol/Module
Has that worked for you? I am having trouble getting reliable response
from the SP870. BenQ provided me with the command protocol, but after
30 seconds the projector stops responding to
By
mikecm1
·
#95702
·
|
Re: iServer and MLX2
Well both of them are in the beta of SIMPL at this point so that is always a
good sign of things to come. I'd say it is likely they could ship any day
based on previous trends of when things show up
By
delcrestron
·
#95701
·
|
iServer and MLX2
Anyone know the status of these products? Has anyone used these
products? Opinions?
By
galcala1031 <galcala@...>
·
#95700
·
|
Re: vtpro-e hang time
wrote:
program -
issues .....
I was having MASSIVE compile time problems with both VTPro-e and
SIMPL Windows for some time now - ever since I got my new computer
this past fall (a dual core T9300
By
craig_csi
·
#95699
·
|
Sierra router control
Can anyone point me to (or send me) a simple program were controlling a
Sierra router is involved?
I have a SierraPro XL1204 that doesn't react on the commands I try to
send it. I have probably
By
oystein.loland
·
#95698
·
|
Re: vtpro-e hang time
I too am experiencing the hang at about 50% as it tries to do something with the fonts. It
always finishes eventually, however.
- Jeff
By
jbudz1977
·
#95697
·
|
Re: Does anyone have code or documentation for a Samsung CK40BSNB plasma?
Oddly enough, I've just been sent another spec from Samsung. It
gives PC1 and PC2 as \x15 and \x16 respectively.
So that would
By
Oliver Hall
·
#95696
·
|
Re: Question on finding the number of defined array elements.
the semi-colon after the if() is a valid statement from the parser's point of
view; it just doesn't do what you want/expect
here is a simple example of how that is useful; the following 'C' code
By
Joseph K. Vossen <jkv@...>
·
#95695
·
|
Re: Question on finding the number of defined array elements.
Not fatal in that way, just fatal in term of doing what you want. And,
I blame it on being very hot here today (must be 40¡ãC in my office at
the moment) for my forgetting that the BREAK would exit on
By
l_codd
·
#95694
·
|
Re: Question on finding the number of defined array elements.
I would have expected to see a compiler error on the fatal ; at the
end of an IF statement.
fatal,
were
file.
to
assigned
By
Matt <mjrtoo@...>
·
#95693
·
|
Re: Question on finding the number of defined array elements.
The Break; provided a nice exit and good reason why there was only 1
output... :)
And I'm on the other side of the fence with the single-statement IF.
If I'm 90% certain I'll never need to add
By
Chip Moody <cfm@...>
·
#95692
·
|
Re: Question on finding the number of defined array elements.
True, but I always put them in so that if I do add another line I
don't mess up the execution order/nesting. (Didn't see the ; - fatal,
but a trace should have shown 10 outputs rather than just
By
l_codd
·
#95691
·
|
Re: Question on finding the number of defined array elements.
Thanks Lindsay and Chip, it's always puntuation isn't it. If I were
to remove the trace statement, could you use no brackets? If the
brackets are required, I guess there's another error in the help
By
Matt <mjrtoo@...>
·
#95690
·
|
Sony BDP5000 RS232
Anyone else working on this or got this working? I believe I have the
checksum calculation working correctly, and am getting the expected
\xFD ACK response to all my commands, but the player
By
Oliver Pemberton
·
#95689
·
|
Re: Question on finding the number of defined array elements.
And nuke the semicolon at the end of the IF statement line - I think
what you had is equivalent to "if this condition is met, do absolutely
squat". :)
Function Main()
{
FOR(i = 10 to 1 Step
By
Chip Moody <cfm@...>
·
#95688
·
|