Ruud H.G. van Tol on Wed, 07 Feb 2024 10:42:21 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- To: pari-users <pari-users@pari.math.u-bordeaux.fr>
- Subject: (expression)
- From: "Ruud H.G. van Tol" <rvtol@isolution.nl>
- Date: Wed, 7 Feb 2024 10:42:10 +0100
- Delivery-date: Wed, 07 Feb 2024 10:42:21 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=isolution.nl; s=soverin; t=1707298935; bh=oXrQ8bRpIciR7Y2zNGMaEMHqamIl1zVi77bF92eMNkc=; h=Date:To:From:Subject:From; b=GPHw053ADeU1mFzFOF+VRKtFYKvHMJOQ8L8s4E8PHdUrvbakECNRFXBQbrZQcYr8y aak0eRVJFJyuSwEFIBqzlTUfFn2mA//tAyqbr7Twp8DYRxYlevDTpb56vOJ3u22tvO OoxxeXgNXqt/kaeMmILRYKIPw0pVvQRu9ltDlm638wInWb9qcKwyb0viGFNJJ5MdWL O7GsUOBWQ7q9wTwzUwGKB2uPjsx4TRLaalvIrQ7fgvmPxxFltSXk/xfkA9d+QLXo86 UvqVJQbbpTQRbdIGNbhXFruNd1BZBesI1uV+5NmVLSCVPo3gXYaRi1hB3vPpmFSuNC qjSsuE1QpMETQ==
Just an innocent example:
? my(i=3, n=3); n + (while(i--, n++);n)
*** syntax error, unexpected ')', expecting )-> or ',':
...,n=3);n+(while(i--,n++);n)
*** ^-
? my(i=3, n=3); n + if(1, while(i--, n++);n )
%2 = 8
Would it be useful to allow/support (expression)s like in the first format?
-- Ruud