318 views
in Embedded Wizard Studio by
In order not to repeat the logic several times, I would like to include it in a function would it be possible?

function disattivaSanitarioSeNecessario() {
    if (ConfSanitarioPompaValvola == 0 || ConfigProbeTypeMandata5_ACS == 0) {
        ConfSanitarioPompaValvola = 0;
        ConfigProbeTypeMandata5_ACS = 0;
    }
}

1 Answer

0 votes
by

Hello Manuel,

use a method for this purpose.

Best regards

Paul Banach

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...