American Citizen on Wed, 17 Apr 2024 00:36:10 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: simple question on why indice variables are not counted as variables for gp2c-run command
|
- To: pari-users@pari.math.u-bordeaux.fr
- Subject: Re: simple question on why indice variables are not counted as variables for gp2c-run command
- From: American Citizen <website.reader3@gmail.com>
- Date: Tue, 16 Apr 2024 15:36:04 -0700
- Delivery-date: Wed, 17 Apr 2024 00:36:10 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713306967; x=1713911767; darn=pari.math.u-bordeaux.fr; h=in-reply-to:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=EIUZcSPZjEseSEpt/PaXMTzNSFGXUShO4xXJgbLkXjI=; b=I2/6FoP+/NUEDCQG7Zx5hMSGzv2C9YNU68uKhNiJ+DZUwBoWzBWsbgT/HK90E5mLuc 4ncBRsP0aUlJ9HAGvcV6TvwG38zG9Bqlc3oE4bvpA0JtZAfNCMZSdAirSFtjQnHdipbf p30xsyeRJZKfUJAq0cBDJmDCCKv0I5Fc7LvLUiMlxBLZtEqqmTEQRgoJBHnV9Ndt7FSE b1lvi1jepBEgsFq6J+ssH+LuaW0rGD1YBfeju+mFL0AFXXJaYSgcv+4wcydaOXCiD2NF MqnUuuDoIujVlGDIrf8/UVKaAoFGRw7zLG5Awg32OyoZRXmPdhXGRHySNlWzOcCQjsOH nlyA==
- In-reply-to: <Zh7qf9jV7FQiMg+I@seventeen>
- References: <800c32b4-7982-409a-bb67-8fb8ad0f2faa@gmail.com> <Zh7qf9jV7FQiMg+I@seventeen>
- User-agent: Mozilla Thunderbird
okay, will do, I have lots of gp programs to change to my()
instead of local().
thanks for the tip
On 4/16/24 14:15, Bill Allombert wrote:
Also I advise to use my() instead of local() unless you have specific reason.
my() variable are statically-scoped, which is less likely to cause bugs.