« * K @masswerk.at

Norbert Landsteiner @masswerk.at

2026-11-27 07:50 UTC

A final foot angle, regarding translating from Commodore BASIC: You can use a logical expression in arithmetic context, where `true` = -1 (all bits set) and `false` = 0. E.g., L = K ="<" : REM moving left? -1:0 P = P + 1 + L*2 : REM either move +1 (right) or -1 (left) I'm guilty of similar things.

A reply in a thread.

1 likes, 0 reposts, 1 replies

3 Next post4 More from @masswerk.atBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup