¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date
Re: Question on finding the number of defined array elements.
[snip] well, actually it does. I can't say for certain with the SIMPL+ compiler, but all of the compilers I have worked on will generate a "temporary" whose type/size is "local" to the block and is
By Joseph K. Vossen <jkv@...> · #95723 ·
Re: Question on finding the number of defined array elements.
Disclaimer: TOTAL GUESS! I'd say that in the case of a function that *returns* a value, that value must be created on the stack. So your MID is creating a new string. That "new" string is then
By Oliver Hall · #95722 ·
Re: Question on finding the number of defined array elements.
This is actually something I was wondering about when I made the XM Now Playing module, and just couldn't bring myself to write TBTS on this. In the XM module, I take the result of a MID
By Chip Moody <cfm@...> · #95721 ·
Re: Question on finding the number of defined array elements.
[snip] don't even go there :))
By Joseph K. Vossen <jkv@...> · #95720 ·
Re: Question on finding the number of defined array elements.
Part of me wants to ROTFL over that, but no - that's just not funny. :) - Chip
By Chip Moody <cfm@...> · #95719 ·
Re: Newbie Simpl+ Question
I'm certainly not going to steer you away from diving into S+, but I'm going to question whether what you're trying to accomplish in this case is better off left in SIMPL. Based on what you've
By Chip Moody <cfm@...> · #95718 ·
Re: Question on finding the number of defined array elements.
I agree, that in the right hands, pointers are extremely powerful, but I feel Crestron have chosen wisely here. As foo's already said, the potential for misuse of pointers would open us up to a world
By Oliver Hall · #95717 ·
Re: Question on finding the number of defined array elements.
What would you do with pointers that you can't do with array indexes? Function arguments are already passed by reference, so what's this "copying data around all over"? It's easy to bounds-check
By Jeremy Weatherford <xidus.net@...> · #95716 ·
Re: DNAV
Y'know, I don't mind half-assed implementations if they're labeled as "Beta" or "Not Ready For Prime Time" or "Play With This, But We Suggest Not Using It For Client Projects Yet"... I'm all for
By Chip Moody <cfm@...> · #95715 ·
Re: vtpro-e hang time
How much memory is in your PC and what is the usage of the memory when you are compiling? Does it exceed the physical memory so that it starts swapping? Chris
By Chris Erskine <chris@...> · #95714 ·
Newbie Simpl+ Question
Hi all, Sorry for the long post, but I like to give a lot of details to help people understand what I'm trying to do. I'm an experienced SIMPL Windows programmer but SIMPL+ is still pretty new to me.
By scates98 <ccates98@...> · #95713 ·
Re: vtpro-e hang time
Thanks - the file size I am using with the tps6l is around 10 meg however the panels capacity is 28 - when you say eliminate unnecessary fonts do you mean the number of font styles or just text
By Nightcountry <patrickbedford@...> · #95712 ·
Mitsubishi AC and Intesis
Has anyone integrated a Mitsubishi Mr. Slim, or other, A/C system with the Intesis Modbus box? http://www.intesis.com/eng/intesisbox_me_ac_mbs_1_frame_eng.htm The contractor has asked me whether
By Tony Golden · #95711 ·
Re: vtpro-e hang time
I experience this problems on some panels as well but I just have to wait a minute or two and it always finishes. I've found that I really have to be careful not to use too many fonts in my projects
By scates98 <ccates98@...> · #95710 ·
Re: Question on finding the number of defined array elements.
I agree that not only would your code be more compact but more efficient since you would not have to be copying data around all over. On the other hand, pointers would cause so much more problems in
By Chris Erskine <chris@...> · #95709 ·
Re: Question on finding the number of defined array elements.
agreed...in my non-Crestron circle of travels in the past, I have found that a *good* understanding of pointers separates the good programmers from the great ones. And then when you jump into
By Joseph K. Vossen <jkv@...> · #95708 ·
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 ·