Gammatech Posted August 20, 2010 Share Posted August 20, 2010 Hi, Just a quicky. Is there any speed preference between a Switch/Case construct with say 7 choices and 7 cascaded If() statements. Am I right in assuming that code in the event section of a channel is activated every time the channel is updated, and that this code should be as fast as possible? Martin Link to comment Share on other sites More sharing options...
AzeoTech Posted August 20, 2010 Share Posted August 20, 2010 They are probably the same speed. Switch might be slightly faster. You are correct about channel events. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.