Ah, i see. While testing Richmonds expression i tested also some other expressions i wanted to know if they work in a switch statement. Therefore i used the answer dialog to see, which case was 'executed'.
> Am 12.08.2021 um 15:46 schrieb Craig Newman via use-livecode > <[email protected]>: > > Hi. > > The parentheses around your case statement: > > case (xitem contains "@“) > > are fine, though unnecessary, unless you just like them for readability. > > I just wanted to point out that in the line: > >> answer "xItem contains @" > > The quotes are not merely superfluous, rather, they must not be there at all. > > Craig > >> On Aug 12, 2021, at 8:44 AM, Craig Newman <[email protected]> wrote: >> >>> answer "xItem contains @" > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
