ChatGPT examples

Alex Tweedly alex at tweedly.net
Fri Jan 20 12:46:27 EST 2023


On 20/01/2023 15:55, Geoff Canyon via use-livecode wrote:

> Responses inline:
>
> On Fri, Jan 20, 2023 at 5:06 AM Alex Tweedly via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
> I thought of this -- especially since ChatGPT's first (python-esque)
> example uses "inf" -- but what would you use as "infinity" in LiveCode? In
> practice if I were coding and comfortable with it I'd probably just throw
> in 999999999 and be done, but in the abstract, there are bigger numbers
> allowed in LC, and I don't care to find the absolute largest -- plus it
> would be some weird long string -- I think, I don't know off the top of my
> head what the largest 64-bit value is.

Just use the constant 'infinity'

I think it was added fairly recently, but the dictionary doesn't say 
what version it first appeared in.

Alex.




More information about the use-livecode mailing list