Search:

Type: Posts; User: knightmetal

Search: Search took 0.08 seconds.

  1. Replies
    5
    Views
    1,974

    Re: Passing variables with void methods

    Thanks and sorry, I'll try to make it clearer:

    Please look at the mult() and add5() methods:

    The question is, how do I pass "myMult1", "myMult2" and "add" variables to the "total()" method?
    ...
  2. Replies
    5
    Views
    1,974

    Re: Passing variables with void methods

    Hello newbie,

    Well that's the thing. I want to pass 2 variables from the multi() method and 1 variable from add5() method. 1 + 2 = 3 :)
  3. Replies
    5
    Views
    1,974

    Passing variables with void methods

    Hello,

    Not sure if this is either too easy or just impossible. Here's the story: I'm processing data from a sensor and I have several methods that do a specific task with those input values.
    ...
Results 1 to 3 of 3