[Gambas-user] I asked chat gpt to write a gambas script, here is what it did

Brian G brian at westwoodsvcs.com
Tue Feb 14 16:10:19 CET 2023

I have been using it for some time to try gambas, over time I had to teach it to use [] brackets for arrays and & not + to join string.. etc
but it did learn......

and that proves everyone correct....

"Failure is the key to success; 
 each mistake teaches us something"  .. Morihei Ueshiba
Brian G

----- On Feb 14, 2023, at 7:01 AM, Benoit Minisini benoit.minisini at gambas-basic.org wrote:

> Le 14/02/2023 à 12:24, Martin a écrit :
>> El 14/2/23 a las 11:39, Benoit Minisini escribió:
>>> But the EXIT keyword is not documented anywhere in the Gambas
>>> documentation. And as far as I searched with Google, I didn't find it
>>> either in any page about Gambas.
>> Maybe ChatGPT uses "EXIT" because it uses the QuikBasic syntax and not
>> the Gambas syntax. I guess since gambas is not documented at the same
>> level as QuikcBasic [1], chat uses the documentation that is complete I
>> guess.
> I don't think so. If you mix Gambas and QuickBasic syntax, you will
> obtain rubbish that won't work either in Gambas and QuickBasic.
> --
> Benoît Minisini.
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----

More information about the User mailing list