home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Products
IR Server Suite (IRSS)
Macro If Statement
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="vf1" data-source="post: 711026" data-attributes="member: 110583"><p>I am hoping that someone can help me on the translator macro here, i can't get the if statement to work.</p><p>If i test the following code, i will get to label :yesact no matter what var_zyx is.</p><p>Also i am unable to get save variable to work, the value is empty always.</p><p></p><p>Thanks</p><p></p><p>[CODE]<?xml version="1.0" encoding="utf-8" standalone="yes"?></p><p><macro></p><p></p><p> <item command="Set Variable: var_zyx|no" /></p><p> <item command="If: var_zyx|==|yes|yesact|noact" /></p><p> <item command="Label: yesact" /></p><p> <item command="Popup: ABC|yes|1" /></p><p> <item command="Set Variable: var_zyx|no" /></p><p> <item command="Goto Label: end" /></p><p> <item command="Label: noact" /></p><p> <item command="Popup: ABC|no|1" /></p><p> <item command="Set Variable: var_zyx|yes" /></p><p> <item command="Label: end" /></p><p></macro></p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="vf1, post: 711026, member: 110583"] I am hoping that someone can help me on the translator macro here, i can't get the if statement to work. If i test the following code, i will get to label :yesact no matter what var_zyx is. Also i am unable to get save variable to work, the value is empty always. Thanks [CODE]<?xml version="1.0" encoding="utf-8" standalone="yes"?> <macro> <item command="Set Variable: var_zyx|no" /> <item command="If: var_zyx|==|yes|yesact|noact" /> <item command="Label: yesact" /> <item command="Popup: ABC|yes|1" /> <item command="Set Variable: var_zyx|no" /> <item command="Goto Label: end" /> <item command="Label: noact" /> <item command="Popup: ABC|no|1" /> <item command="Set Variable: var_zyx|yes" /> <item command="Label: end" /> </macro> [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Products
IR Server Suite (IRSS)
Macro If Statement
Contact us
RSS
Top
Bottom