🎉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

How to compare two macro values in if statement

User: "sgnarkhede2016"
New Altair Community Member
Updated by Jocelyn
Hello,

How to compare two macro values in if statement

e.g.
if(%(abc}==%{xyz},1,2)

for me it must be true because both values are same i am checking this condition on branch

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "kayman"
    New Altair Community Member
    Updated by kayman
    @sgnarkhede2016 , use

    equals(%{macro1},%{macro2})

    This should work with condition type expression in the branch operator as it returns either true or false