Ewan Delanoy on Sat, 15 Nov 2025 13:36:43 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Comments between lines raise syntax error





---- On Sat, 15 Nov 2025 13:02:25 +0100 Bill Allombert <Bill.Allombert@math.u-bordeaux.fr> 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.