Sujet : Re: basic BASIC question
De : cross (at) *nospam* spitfire.i.gajendra.net (Dan Cross)
Groupes : comp.os.vmsDate : 01. Feb 2025, 22:35:12
Autres entêtes
Organisation : PANIX Public Access Internet and UNIX, NYC
Message-ID : <vnm42g$akp$1@reader2.panix.com>
References : 1 2 3 4
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <
679e8b61$0$708$14726298@news.sunsite.dk>,
Arne Vajhøj <
arne@vajhoej.dk> wrote:
On 1/31/2025 8:39 PM, Arne Vajhøj wrote:
Improved version:
* more values
* also pass individual values instead of array
* dump addresses for verification
* also try C bool for individual values (we are
past 1999)
You should really be clear about what, exactly, these programs
are showing. Again, I believe that most of what the specific
combination of languages and compilers at play here treat
different integers, when used in a boolean context. But all of
that can easily be determined from the relevant language or ABI
documentation.
[snip]
>
(in case someone wonder about C bool, then it is 8 bit!)
Sure. That's specified by the ABI.
- Dan C.