3 ms·
They did. AND, OR and NOT were bitwise operations as well as conditional operators. E.g. POKE 254, PEEK(254) AND 127 would turn off bit 7 of memory location 254
by RiverCrochet 5mo ago
They did. AND, OR and NOT were bitwise operations as well as conditional operators. E.g. POKE 254, PEEK(254) AND 127 would turn off bit 7 of memory location 254 without affecting other bits.
- ErroneousBosh 5mo agoIn which BASIC?
- RiverCrochet 5mo agoAll the Commodore BASICs, Applesoft, GW-BASIC, QBASIC from what I remember. Very certain about the Commodore BASICs.
- ErroneousBosh 5mo agoI did actually know that Commodore BASIC had it but had forgotten. I don't think I'd ever used GW-BASIC or QBASIC, weren't they on PCs? Apple IIs weren't really a thing over here although the very first home computer I ever used was an Apple II belonging to a friend of my mother's - Tony van der Kuyl, father of video games magnate Chris van der Kuyl ;-)