Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
gorsamp19507yHis variable is pascal case but his functions are camel case.
Dig the indents though, looks nice. -
Voxera115857y@nbamaral never with line oriented basic, you where limited to max 255 chars per line. But the program is not really fake, it will brute force all four digit passwords accurately ;)
And in the time basic was written like this it would probably crack a lot of them ;P -
@runfrodorun @Voxera
I had a little zx spectrum and used a XT with rom basic, I'm that old 😊
But looks nicer yes -
@runfrodorun
I've stopped buying old stuff, because it's pain to move them, but most of it was IBM (mainly thinkpads)
Now I've discovered the existence of the only black model (m13) and it's hitching me again 😄 -
Voxera115857y@ewpratten its the escape when finding the correct answers one.
Goto out of loops are perfectly valid and in basic’s for loops the best way.
The only other option would be to manually set the loop variable to the max value which is more code and more prone to errors.
Under the hood goto is still used in for example c#.
Found that yield for iteratiors are rewritten with a goto “into” the middle of a loop ;). Bite on that :D -
Agusyc1137y@Voxera Oh! Right. With BASIC you can use the line number as the argument for the GOTO. lol
-
Can we talk about the fact that the code is falling off of the actual computer screen 😂
-
drdanz2717yNot even a REM instruction? That's bad practice!
Also the indentation of the GOTO is too deep.
And BTW, I agree with @nbamaral, I don't remember indentation in basic programs in the 80s!
Related Rants
-
wrkuijpers82Me: *Watching a movie* Main Character: "Oh no, we have to hack the CIA to figure out how this machine works! ...
-
molynerd12Writing some code on a flight "ARE YOU HACKING?!?!" "Ugh... Well yeah but not in the way you're thinking" "Om...
-
harshitks10Hacking is like sex. You get in, you get out, and hope that you didn’t leave something that can be traced ba...
Bob Newby from Stranger Things is such a badass BASIC hacker :O
undefined
pro
nopasswordissafefrombob
hacking
basic
stranger things
bob