I am not a robot. I promise.
Programmer Humor @programming.dev Can you code with no digits?
Lemmy Shitpost @lemmy.world You ever been to Disney World?
Lemmy Shitpost @lemmy.world I'm Single, I'm Pringle, and I'm Ready to Mingle...
Showerthoughts @lemmy.world Rechargeable electric arc lighters kinda suck for the average person, and will typically end up as e-waste.
Lemmy Shitpost @lemmy.world Hose Clamp Security Gate Chain...
Ask Lemmy @lemmy.world South Mississippi here, does anyone have any advice on how to get Brownie registered as an emotional support animal?
Jerboa @lemmy.ml Jerboa 0.0.84 seems to blindly try to force-open this webpage as a PDF document, when it needs to actually open it up as a webpage for the age verification HTML script.
Showerthoughts @lemmy.world You can't legally drink and drive, but you have to present your driver's license to prove you're old enough to drink.
Fuck AI @lemmy.world I asked Google Docs AI to basically write a document about itself. Here's the results (4 pages)...
Showerthoughts @lemmy.world There are 4 types of people out there. Those that are for a cause, those that are against a cause, those that don't care either way, and those that don't understand what the cause is to begin with.
FoodPorn @lemmy.world I had potato chips today
No Stupid Questions @lemmy.world How far do you wear your daily shoes out before bothering to replace them?
Ask Lemmy @lemmy.world How do people manage to play Rock, Paper, Scissors so quickly?
Fuck AI @lemmy.world Ah yes, thank you AI, I'm sure my mom loves driving on flat tires!
Dogs @lemmy.world Brownie chilling out..
Dull Men's Club @lemmy.world I finished a front end alignment on my roommate's vehicle today, shadetree style. 2005 Hyundai Tucson, 2.7L 6Cyl
Ask Lemmy @lemmy.world Ignoring the internet bill itself, how many paid online services do you have?
memes @lemmy.world Cover Your Banana
Lemmy Shitpost @lemmy.world Cover Your Banana
I Made This @lemmy.zip There's a bicycle behind this, I promise..
I do think that most dialects of Basic automatically zero out variables when they're defined, but my code concept here makes no such assumptions, I assume the worst that all variables start off as random garbage.
I chose Mobile Basic because it's easy to understand, the code concept doesn't require any super complicated language, and I can easily piddle around with stuff like this when out and about on road trips and such.
If you like the coding idea, feel free to use it and even adapt it to other languages.
One thing I don't exactly like about this particular version of Basic is that it's kinda picky on what all I can and can't do between integer vs double data types, it doesn't allow bit shift operations using doubles, which does make sense, but some other Basic dialects do tend to allow that by simply rounding to an integer before performing bit shifts. I guess it just depends on what your calculating priorities are, decimals or integers..