The Dink Network

Reply to Re: New File: Binary Supervars

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
August 23rd, 03:57 AM
peasantmb.gif
yeoldetoast
Peasant They/Them Australia
Oh, NOW YOU'VE DONE IT! 
It shouldn't crash unless there's some sort of oversight in the implementation somewhere. Global vars are 32-bit integers, and have been since the very beginning meaning that it's technically possible to shove up to 32 bools into a global var, rather than 28.
This Cornell page goes into it all, explaining how to store them, and then retrieve using shifting and then the AND operator.

Unfortunately, instead of bitwise operators, reDink and 1.08 received some fairly useless trigonometric functions instead which makes it a slog to implement outside of DinkLua.