In der folgenden Abfrage kommt im Falle true korrekterweise die Meldung/der alert.
Im Falle false wird der else-Teil korrekt durchgeführt aber es kommt ebenfalls die o.g. Meldung.
Das alert-Statement ist an keiner anderen Stelle im screen vorhanden.
I hoped that this is perhaps a known problem.
It sems, that it depends on the if-condition.
With the condition "“a” = “a” the alert appears and with
and “a” = “b” it doesn’t.
I try to change the condition to find the reason, but I ask me howtever the condition looks like, the result ist either true or false.
Es hängt offensichtlich mit folgendem Effekt zusammen.
Der Fehler tritt auf durch das “set global found …”
Wenn ich die Zeile “set global found …” deaktiviere funktioniert es .
I reduced my app to this showed example, whre found is only used in one block.
The same result I had before when using local found in the block.
New result: If I disable “set btnspeichern…” instead of “set global found” the example works.
Is it possible that the number of statements in an if/else-part is limited in appinventor?
I have deleted two lines (set …color …) in the else section.
As it works like this, I finish this thread, not knowing what was the reason of the default.