Hallo am späten Abend,
ich habe noch Schwierigkeiten mit dem „GetValueFormatted“-Befehl.
Es wird immer die erste Assoziation des Variablen-Profils ausgegeben, egal welchen Wert die Variable angenommen hat.
Z.B ~Lock (Boolean) liefert immer „Unlock“ egal ob True oder False
<?
$a=GetValueBoolean(33057 /[Test_GetValueFormatted\Bool_VarProfil]/);
$b=GetValueFormatted(33057 /[Test_GetValueFormatted\Bool_VarProfil]/);
echo „Wert=“.$a." Assoziation ".$b;
?>
Liefert bei False
Wert= Assoziation Unlocked
und bei True
Wert=1 Assoziation Unlocked <- müsste an dieser Stelle laut Profil „Locked“ sein
Festgestellt auf RaspberryPi
Unter Windows alles ok.
Mache ich etwas falsch oder gibt es hier noch einen Bug?
Danke und Grüße
Christian