Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: Editing complex conditionals

  1. #1
    Junior Member
    Join Date
    Nov 2019
    Posts
    11

    Editing complex conditionals

    I'm writing a somewhat complex conditional for controlling shades (based on time-of-day, temperature sensors, light sensors, and weather forecast). Finished my first pass and realized that I need a top-level if statement to wrap around the whole thing :)It seems like it isn't possible to add a new statement that wraps around existing statements. Is that right? I also can't collapse and drag a block to move it. Any way I can do this without having to re-write the whole thing? Somewhere outside of the designer software maybe? It would be nice if there was a way to import/export conditional logic to make editing easier (in something like XML). Would also be easier if Actions themselves could contain conditional logic - then you could have blocks of logic in different Actions and be able to compose them more easily

  2. #2
    Senior Member
    Join Date
    Oct 2013
    Posts
    1,784
    The conditional programming isn't very friendly. I believe the program goes through all of the conditions from top to bottom every time the button is pressed so it shouldn't matter where your wrap-around condition is. Emphasis on shouldn't.

    I believe the program uses Microsoft SQL. A SQL programmer might be able to do something with it. That may also violate the Terms of Usage.

    Your statement is still valid. We should be able to import/export between programs. Copy/paste is hard because you can't have 2 SQL files open at the same time.
    LED, Incorporated
    Raleigh, NC 27614

Similar Threads

  1. Variables and Conditionals
    By iQAlex in forum Programming - HWQS
    Replies: 14
    Last Post: 08-12-2019, 03:19 PM
  2. LHC+ Level Editing and Cycle Dim
    By Armando B. in forum Design Assistance - HWQS
    Replies: 4
    Last Post: 07-20-2018, 10:14 AM
  3. Home+ App - Editing Buttons
    By hokiecracker in forum Programming - RA2
    Replies: 2
    Last Post: 11-04-2016, 11:23 AM
  4. Illumination and Home+ App Editing
    By diogomoreira in forum General Discussion - Legacy HW
    Replies: 1
    Last Post: 09-06-2016, 09:13 AM
  5. Editing Shared Scenes
    By John_Nau in forum Programming - RA2
    Replies: 6
    Last Post: 08-20-2014, 07:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •