Re: Comments between lines raise syntax error

Ewan Delanoy <[email protected]> Sat, 15 Nov 2025 13:36:28 +0100
Newsgroups gmane.comp.mathematics.pari.user
Message-ID <[email protected]>
---- On Sat, 15 Nov 2025 13:02:25 +0100 Bill Allombert <[email protected]> wrote ---



 >What is wrong with

>

>example()=

>{

>if (noMeatToday(),

>cry();

>roar();

>)

>}



You are correct, this is indeed accepted by my version of PARI-GP. I'd never thought of coding it that way

as the braces would have seemed redundant to me. Thanks for the tip.



Cheers,



E. D.