Page 1 of 1

Macro ${ismaster} not functioning?

Posted: 02 Jul 2016 12:34
by Havenstad FM
Hi Bernd,

It looks like the ${ismaster} macro is not functioning anymore. I use it in our setup and i know that it functioned before, but now it seems broken. I'm not sure when it happened, but i went back to v4.0.1.35 and even then it does not function.

To reproduce put the following in a command button:

Code: Select all

EXEC_COMMAND2 ${ismaster} | Equals(1) | SHOW_ALERT_WINDOW I am the Master
After pushing the button the message should be shown if PFOA is running as master, but nothing happens. Can you confirm this or am i missing something?

With kind regards,

Jack Reitsema
ITC Havenstad.FM

Re: Macro ${ismaster} not functioning?

Posted: 02 Jul 2016 20:07
by radio42
please remove all SPACEs in your command, then it will work !

Code: Select all

EXEC_COMMAND2 ${ismaster}|Equals(1)|SHOW_ALERT_WINDOW I am the Master

Re: Macro ${ismaster} not functioning?

Posted: 03 Jul 2016 09:29
by Havenstad FM
Hi Bernd,

Ah, glad it was that simple. Thanks again....

Regards,

Jack Reitsema
ITC Havenstad.FM