Sujet : Re: Why Python When There Is Perl?
De : bowman (at) *nospam* montana.com (rbowman)
Groupes : comp.os.linux.advocacyDate : 24. Mar 2024, 21:54:09
Autres entêtes
Message-ID : <l6ben1F5jd1U7@mid.individual.net>
References : 1 2 3 4 5 6 7 8 9 10 11 12
User-Agent : Pan/0.149 (Bellevue; 4c157ba)
On Sun, 24 Mar 2024 11:57:31 -0500, Physfitfreak wrote:
I don't understand what was the motive behind introducing this into
programming language. The same singling out is very easily arranged with
using an AND operator. "if (A = 1) AND (B = 0) then you get a False".
http://www.manmrk.net/tutorials/basic/PowerBASIC/pbcc/imp_operator.htmI was wrong. Apparently it does a bit by bit operation and returns 16
bits. I can't find any reference to it outside of the various Basic
dialects including VBA.
https://www.tutorialspoint.com/assembly_programming/assembly_logical_instructions.htm
You could provide the functionality in most languages but it isn't a core
processor operation.