bug-bash
[Top][All Lists]
Advanced

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

Re: Variables declared in arithmetic expressions have no i flag


From: Chet Ramey
Subject: Re: Variables declared in arithmetic expressions have no i flag
Date: Thu, 26 Nov 2020 13:00:02 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.4.3

On 11/24/20 8:30 AM, Léa Gris wrote:
> Should variables automatically created within arithmetic constructs have
> the integer flag implied?

No. There's no reason to do this. If you want an integer variable, declare
it as such beforehand.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]