Forum FlexPro – Discuss your topic!

Multiple returns in a formual

Accueil > Community > FPScript > Multiple returns in a formual

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12463
    John GerhardyJohn Gerhardy
    Participant

    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
    Participant

    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
    Participant

    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

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.