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

Benoit Minisini benoit.minisini at gambas-basic.org
Tue Feb 14 16:01:26 CET 2023

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.

More information about the User mailing list