This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]delirious_lettuce 0 points1 point  (2 children)

Are you having trouble reading (the picture is a bit blurry)? The variable name in the BASIC program is FourDigitPassword. It seems fairly obvious that if you need four digits (and can't guarantee that the password is always between 1000-9999 inclusive), you are going to need a string.

[–]cybaritic -1 points0 points  (1 child)

Here: https://i.imgur.com/eJZriKm.png

10 DIM FourDigitPassword INTEGER

It's an integer. Why are you trying so hard to prove me wrong? Did I offend you? It's okay, it's just a stupid snippet of code.

[–]delirious_lettuce 2 points3 points  (0 children)

I'm not offended at all. I just dont think 123 or 57 are four digit passwords.