Hard case

matthias_livecode_150811 at m-r-d.de matthias_livecode_150811 at m-r-d.de
Thu Aug 12 09:25:00 EDT 2021


With my sample script i  just wanted to show to Richmond  that

case (xitem contains "@")

definitely works. Or did i misread his post?





> Am 12.08.2021 um 14:44 schrieb Craig Newman via use-livecode <use-livecode at lists.runrev.com>:
> 
> You must not include quotes in the answer line. That will always simply return the string "xItem contains @“
> But losing those quotes does indeed return “true”.
> 
> Craig
> 
>> On Aug 12, 2021, at 6:24 AM, matthias rebbe via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>> 
>> put "@ " into xItem
>> 
>> switch
>> 
>> case (xItem contains "@")
>> 
>> answer "xItem contains @"
>> 
>> break
>> 
>> end switch
> 
> _______________________________________________
> 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