Forum FlexPro – Discuss your topic!

Multiple returns in a formual

Home > Community > FPScript > Multiple returns in a formual

Ansicht von 3 Beiträgen - 1 bis 3 (von insgesamt 3)
  • Autor
    Beiträge
  • #12463
    John GerhardyJohn Gerhardy
    Teilnehmer

    Hallo,

    is it possible to return several values in one formula. At present I write one formula for each calculation. I would like to put these calcuations into one formula if posible. For instance, somthin like this:
    Dataset A = Dataset B / 2
    Dataset C = Dataset F * 10 -100

    Possible?

    Sincerely,
    John

    #8138
    John GerhardyJohn Gerhardy
    Teilnehmer

    Hallo,

    is it possible to return several values in one formula. At present I write one formula for each calculation. I would like to put these calcuations into one formula if posible. For instance, somthin like this:
    Dataset A = Dataset B / 2
    Dataset C = Dataset F * 10 -100

    Possible?

    Sincerely,
    John

    #8759
    Bernhard KantzBernhard Kantz
    Teilnehmer

    Yes, this is possible. You could return your datasets as a list like this:

    [A, C]

    To access the values of A in another formula you could write something like this:

    CalcResult.A

    Please take a look at the list operator in the online help for more information.

    Support
    support@weisang.com

Ansicht von 3 Beiträgen - 1 bis 3 (von insgesamt 3)
  • Du musst angemeldet sein, um auf dieses Thema antworten zu können.