Welcome to Keen Software House Forums! Log in or Sign up to interact with the KSH community.
  1. You are currently browsing our forum as a guest. Create your own forum account to access all forum functionality.

I have no idea how to code C#, but suggestion for cross-program block communication.

Discussion in 'Programming Questions and Suggestions' started by gimmilfactory, Jan 5, 2015.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. gimmilfactory Junior Engineer

    Messages:
    523
    Isn't it simply possible to pass values/information between two terminal blocks by changing the name of the block that has the code being executed on it(or any other)? Then just triggering a timer block(or other program block's run) to trigger the next step of the script, rename the timer block to what it was before values where submitted, then utilize those new values to further compile the new information.

    I feel this would be a good way to get around code complexity issues; by modulating more advanced child steps of a script, then have a master utilize/control it.

    I remember reading somewhere, and have accidentally myself pasted into, a control panel name area, and found that it supports a high-value of string data, space which isable to be used like client-side(address bar info passing) php coding.

    Just some food for some awesome programmer's thought.
     
    Last edited by a moderator: Jan 5, 2015
  2. pipakin Apprentice Engineer

    Messages:
    182
    Funny, I'm actually working on an RPC system right now (well not right now, I'm at work). Should allow for cross block communication and more precise timing.

    something like:

    Code:
    computerCore.Call("Computer Core", "InMilliseconds", 1250, DoStuff);
    
    then:

    Code:
    void DoStuff(string callingBlock)
    {
        ...
    }
    
     
Thread Status:
This last post in this thread was made more than 31 days old.