Author |
|
judetf Senior Member
Joined: January 23 2008
Online Status: Offline Posts: 234
|
Posted: March 06 2009 at 06:51 | IP Logged
|
|
|
I'm curious as to whether there is a significant difference between putting a series of formula commands together in one line of a macro, or splitting them into multiple lines.
A simple example would be a macro that does nothing more than turn on three different lights with ph_insteon commands. The macro could be one line (with all three ph_insteon commands joined together) or three separate lines.
Is there a significant processing difference (either from a PH point of view of an Insteon view)?
Thanks
jtf
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: March 06 2009 at 08:30 | IP Logged
|
|
|
I can’t imagine why there would be a significant difference except maybe in an I/O command that may change it's sequence on the queue. The routines that build from the script probably have to go through the same hoops and loops. I do 1 liners for simplicity. The only place serializing plays into it is in the Boolean field of triggers.
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
jbbtex Senior Member
Joined: February 15 2007 Location: United States
Online Status: Offline Posts: 181
|
Posted: March 06 2009 at 13:30 | IP Logged
|
|
|
Single lines also make debugging easier.
__________________ Brady
"Never tell people how to do things. Tell them what to do and they will surprise you with their ingenuity." - Gen. George S. Patton
|
Back to Top |
|
|