🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Generate Attributes, support for function "choose"

User: "tennenrishin"
New Altair Community Member
Updated by Jocelyn
Can we request a function (that can be used, for example, in Generate Attributes) that generalizes 'if'?
choose(1,a,b,c)==a
choose(2,a,b,c)==b
choose(3,a,b,c)==c
with variable number of arguments

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "MariusHelf"
    New Altair Community Member
    Hm, do you have looping over attributes in mind? Would not be the Loop Attributes operator a valid choice then?
    User: "tennenrishin"
    New Altair Community Member
    OP
    Not really. I just think it can be a useful function for composing certain expressions, which is probably also why spreadsheets support it.