Karim Belabas on Tue, 28 Nov 2023 09:27:33 +0100
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: trying to find a simple command to list all global variables
|
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Re: trying to find a simple command to list all global variables
- From: Karim Belabas <Karim.Belabas@math.u-bordeaux.fr>
- Date: Tue, 28 Nov 2023 09:27:13 +0100
- Arc-authentication-results: i=1; smail; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1701160035; c=relaxed/relaxed; bh=55Ceh9oSridVzvXH8+GXmCcQNOZkROjJPHD3REXYX4Y=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; b=W0Ja2W60++RMAQHqhNdwCyTvgQkWTqIgmoUOi+DN+Fv0oCms8AoFq0czrF34uXzsmW7UrpF/YyjlXJOCCtZj0AMEPFRZZbzl121+PyzeOPlnvSZmDgBh++rP0TWKyu8Nip6Se+yZ+FKhoSwwAUhL7+GAajjAUKS3UWzmVfjbc2SwxK6wT4/7gRA8y1jCLtMxVnFgnREsdCuWbJ66NyTsmIduNHuYMJavnkFJ7VSU9z+cOsGABvDI6x1XuuDeU25QisfA/r7y4A8boaF1LVAVGE/gdDUMF1HAUqdXV5VP1RuhwQFkHd1LGorz/HaC+qPznzHlSmg60jirJWtr2VbA19PmLuav5QhpsHEzdrcFg223Zf5N/xwaFt9zozsqwDeh/EfjfESdxjfEhLhz27WmJiuRdGNlF2ueq7Mwm3Q0QPLJmsWWX/SRSPRGAXt+ZYVJjQxOoM50i7hBv1aoEfFc/L+2hWtSr75hT9E+J0pENLWf7TCTdAhwU49cj38HqPn3ig7o2oGs+Dg4/FML8OO75doM5Gzo1MdycyqkeFuYIvBx2kZXdvDz4S6+Ao/ATAPIUxyUjkyp2bVz1mz7NSk/kdMueXzS8l5zww5V5a1CuIKr83dr4BdwhvrtdwhndM+mjbPKhPkLDTdUXn1sLvcVfsaEDGlS5ajZUKX50Zf+Jwg=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1701160035; cv=none; b=wXmPwb20mWGGq4cxZ7HakCGfdE1WIUOCCrmHuyBSF3wOaEGFJWK+JO/gZifndYOEgKOv5+D6dkn9B2bxZX4w2sAkPq+rWgXLPVJg31jMrdOJ4wMMnBpwXHZzp8U86Cg4yuGSFgkkwrnIt64DyzqAQ/c6DApRX2na+aVM/ss9z/pEVoGesTyBQ3CBYMZLHLr1e51uvi5YgZMhYhmkT3W0dIhJI9IjJbNshWhBh22/Yv2ULcvXNfARE0xZFgY4i//KExiMVi/soEiQdjLIXa+/NFbq5eKUvTuGbVvX5kybe3rxfNCXlAI1/t0KVfIi12tFdXopnzARU+4sYofVCSi8EPuG40ETZUrvovKV2BUVUxSVOPEK2zwVtct+hglzQ9Lpobo3e9k1s4bhk1/WHf7Syu9E+wphQEjIbHqxWhjXvmejQ1tyN/Z1Obp4BGwN78LR3CMLWnlDZvN5XKd7xt5FcS9UP+nbkbxTVzzg9yaPmmrzxpEAKBeZOG69upN/smGR2hOKKvyAc5IGF7B3xVIWQYkNuSZkCEIsU/JVjVo7c/yj7BrJ5BrVl4b2R6r0gQ8tQY0ozg5EgPI4IXPhDM8lXjSmk9Ke2rVfNx9rY8dqI9OmHdSGriPCTTrZ30hnrUMdMCXQXlXpP/uAp3UZ1ONNcNa4tD85Vg80cJYf1U4eX1g=
- Authentication-results: smail; arc=none
- Delivery-date: Tue, 28 Nov 2023 09:27:33 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1701160035; bh=55Ceh9oSridVzvXH8+GXmCcQNOZkROjJPHD3REXYX4Y=; h=Date:From:To:Subject:References:In-Reply-To:From; b=alGGka71HVYfF1LB/W2u08ltvK8byXWgjOGStR6DAMf9QdjrVjvC5tyGpwCYI0E5s u2UfITfv8kZjIO3jNM1K3T8Cipxo8j31ABAWPKjR9ZMlAw8W2UR8fFqbz0QwuaqvNL AGmYxvZ2j3LFiC/T3GA2ldth7edMygqr1YRDQnsMfimCSrrPM8brNXqXCpQd3jI2kV 5qLH2esYuu9G4DhpR3fFOKj3DWgt8ETWquipsMVKhc6uwCZbVcY16VTSQCiXJEkC6I QpDOW/SE1a7fYb67MZ+9AVJVrHoNwcmCEuw1nJdUdJvR5aD8juWIT3m1cHlWFU2tJd N3Tp3GA74usbKNuxAt9BoGyGt7RPa/9HgnxpPtCkn5WcJFf4eqLqO2obLrLOdXg0jN 8vx59M7Thkvee6RoLF/iWUuSi3akCuNKyja0VVXG3aXt0wNAz4cHBiMnKkYAePoMM9 /oAxwKztdGKaInw82Ku5/XUbO3iqL7sOJfJRMdshsBTokNfd3bQnDPDoagS3Lnpnd9 dusVQqTP2A/Ua8ZQrDElrEJt0B5X1juf8GrifoH71zelGgVMz90BQmsdcmjZqnWJR4 Qk6N3IywSodKP7kldwcgUkd5Mcnej/oAbAjrdZivBpzvAELMJkV8rcWEUaLtNvk6e7 70E+z8nPQrv7e6ruoOdE16Y4=
- In-reply-to: <ZWWieXORdbZJ9Epi@seventeen>
- Mail-followup-to: pari-users@pari.math.u-bordeaux.fr
- References: <0cf0e32d-4c09-4fb8-9742-d50106f67776@gmail.com> <ZWWieXORdbZJ9Epi@seventeen>
* Bill Allombert [2023-11-28 09:19]:
> On Mon, Nov 27, 2023 at 04:24:10PM -0800, American Citizen wrote:
> > Hello:
> >
> > I used the Okular search feature to step through the 675 page document
> > "https://pari.math.u-bordeaux.fr/pub/pari/manuals/2.15.4/users.pdf" to see
> > if a command to list the global variables on the stack or heap is available.
> >
> > Nothing turned up that I can see (I did the scan twice)
> >
> > So how do you find what variables have become global?
>
> You can do
> \uv
> (x and y are always global).
>
> but you can use gp2c -W which will tell you where a global variable appears.
A final possibility is variables().
Cheers,
K.B.
--
Pr. Karim Belabas, U. Bordeaux, Vice-président en charge du Numérique
Institut de Mathématiques de Bordeaux UMR 5251 - (+33) 05 40 00 29 77
http://www.math.u-bordeaux.fr/~kbelabas/