Hard case

matthias_livecode_150811 at m-r-d.de matthias_livecode_150811 at m-r-d.de
Thu Aug 12 09:53:39 EDT 2021


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





More information about the use-livecode mailing list