- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
this is obviously a problem with the user. Everybody knows you're not supposed to use a magic number as your PIN! How am I supposed to know where all these '7's and '2's and '4's and all the others come from??
Admin
Whom did I threaten, limp-wristed sissy?
Admin
Wow. You don't understand what a question mark is yet you've used it yourself. When I said, "Threaten anyone today tough guy?", I was asking whether you had threatened anyone. It was a question, not a statement of fact.
For someone who gets so upset at people who make programming errors, I'd expect a bit more thoughtful reading of posts. Now go make idle threats on the Internet against people - BECAUSE THEY'RE SO SCARY!!!
Admin
We... need... moderators... and... banning... policies... for... these... childs...
Admin
Nice grammar.
Admin
Thanks!
By the way: Have you ever thought of editing your posts to take out all the poo and replace it with intelligence? (And I know this forum doesn't let you edit posts...)
Admin
I would reply to some of these posts, but I don't want to come across as a limp-wristed sissy.
Admin
Sorry...it's too late for that.
Admin
Of course next month failure will be 8.
What me also intriges is took it 3 weeks to find the bug and fix it or was that a manager approach saying yes we know there is a bug and we will fix it in the next release in 3 weeks.
Admin
Function GetPinCode(Index as Integer)
Dim inputs[10+1] as String : REM seems to crash without +1
inputs[1]="one"
inputs[2]="two"
inputs[3]="three"
inputs[4]="four"
inputs[5]="five"
inputs[6]="six"
inputs[7]="seven"
inputs[8]="ate"
inputs[9]="nine"
inputs[10]="zero"
Dim s as String
s = Substr(Pin, Index, 1)
Select case s
case "1": return Inputs[1]
case "2": return Inputs[2]
case "3": return Inputs[3]
case "4": return Inputs[4]
case "5": return Inputs[5]
case "6": return Inputs[6]
case "7": return Inputs[7]
case "8": return Inputs[8]
case "9": return Inputs[9]
case "0": return Inputs[10]
End Select
return "strange"
End Function
Function VerifyPinCode(RealPinCode)
Dim a as String
Dim b as String
a = Substr(RealPin, 1, 1)
b = GetPincode(1)
Select case a
case "0": If b <> "zero" Then return false
case "1": If b <> "one" Then return false
case "2": If b <> "two" Then return false
case "3": If b <> "three" Then return false
case "4": If b <> "four" Then return false
case "5": If b <> "four" Then return false
case "6": If b <> "four" Then return false
case "7": If b <> "sevem" Then return false
case "8": If b <> "ate" Then return false
case "9": If b <> "nine" Then return false
End Select
a = Substr(RealPin, 2, 1)
b = GetPincode(2)
Select case a
case "0": If b <> "zero" Then return false
case "1": If b <> "one" Then return false
case "2": If b <> "two" Then return false
case "3": If b <> "three" Then return false
case "4": If b <> "four" Then return false
case "5": If b <> "four" Then return false
case "6": If b <> "four" Then return false
case "7": If b <> "sevem" Then return false
case "8": If b <> "ate" Then return false
case "9": If b <> "nine" Then return false
End Select
a = Substr(RealPin, 3, 1)
b = GetPincode(3)
Select case a
case "0": If b <> "zero" Then return false
case "1": If b <> "one" Then return false
case "2": If b <> "two" Then return false
case "3": If b <> "three" Then return false
case "4": If b <> "four" Then return false
case "5": If b <> "four" Then return false
case "6": If b <> "four" Then return false
case "7": If b <> "sevem" Then return false
case "8": If b <> "ate" Then return false
case "9": If b <> "nine" Then return false
End Select
a = Substr(RealPin, 4, 1)
b = GetPincode(4)
Select case a
case "0": If b <> "zero" Then return false
case "1": If b <> "one" Then return false
case "2": If b <> "two" Then return false
case "3": If b <> "three" Then return false
case "4": If b <> "four" Then return false
case "5": If b <> "four" Then return false
case "6": If b <> "four" Then return false
case "7": If b <> "sevem" Then return false
case "8": If b <> "ate" Then return false
case "9": If b <> "nine" Then return false
End Select
If Len(a) <> Len(b) Then return false
If Len(a) <> 4 Then return false
If Len(b) < 4 Then return false
If Len(b) > 4 Then return false
return True
End Function
;-)
Admin
Yeah... Just insert your card, enter your PIN, and select the "Change my PIN Number" option...
Oh, wait... I can't enter my PIN!!