return <value> with <value>?

Monte Goulding monte at appisle.net
Wed May 15 18:15:43 EDT 2019



> On 16 May 2019, at 6:22 am, Richard Gaskin via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Line 264 of libURL contains:
> 
>    return empty  with urlResult laLoadedUrls[newUrl]
> 
> What is that "with" clause?
> 
> I was familiar with the "for" clause", but when I went to check this in the Dictionary I found neither clause is mentioned. :(

The `for` clause is definitely in the dictionary and has been since it was added here https://github.com/livecode/livecode/pull/4164 <https://github.com/livecode/livecode/pull/4164>

The `with` clause is something specifically for libURL which ends up setting the urlResult.

Cheers

Monte




More information about the Use-livecode mailing list