Skip to main content
Inspiring
August 2, 2016
Question

Expressions and three variables

  • August 2, 2016
  • 3 replies
  • 265 views

Hi Folks,

I am trying to add three number variables and produce the sum in a forth variable. I can get it to work with two variables but the Expression panel appears to only allow me to add two variables,  not three. Is this correct and is there a way I can make it work with conditional or added expressions for example (va_1 plus va_2 = va_3) on one line then on line two (va _ 3 plus va_4 )

Basically I want to add 3 numbers together and output that number into a text box.

Any help very much appreciated!

Cheers

Steve 

    This topic has been closed for replies.

    3 replies

    Inspiring
    August 2, 2016

    Hi TLC Media Design and Lilybiri,

    Thanks for confirmation and optimal naming convention!

    Cheers

    Steve

    Lilybiri
    Legend
    August 2, 2016

    Expression v_sum = v_one + v_two

    Expression v_sum = v_sum + v_three

    TLCMediaDesign
    Inspiring
    August 2, 2016

    Is this correct and is there a way I can make it work with conditional or added expressions for example (va_1 plus va_2 = va_3) on one line then on line two (va _ 3 plus va_4 )

    Your statement is exactly how you need to do it. That is correct.