Community & Support
Learn
Marketplace
Discussions
Categories
Discussions
General
Platform
Academic
Partner
Regional
User Groups
Documentation
Events
Altair Exchange
Share or Download Projects
Resources
News & Instructions
Programs
YouTube
Employee Resources
This tab can be seen by employees only. Please do not share these resources externally.
Groups
Join a User Group
Support
Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
How to compare two macro values in if statement
sgnarkhede2016
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
AI Studio
MacOS
Macros
Accepted answers
All comments
kayman
@sgnarkhede2016
, use
equals(%{macro1},%{macro2})
This should work with condition type expression in the branch operator as it returns either true or false
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups