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 
> <use-livecode@lists.runrev.com>:
> 
> 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 <cr...@starfirelighting.com> wrote:
>> 
>>> answer "xItem contains @"
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to