PDA

View Full Version : Diebold Basic Programming Code [satire]




Broadlighter
01-15-2008, 06:04 PM
It's not perfected, haven't been able to debug this, but some programmers here on RonPaulforums might appreciate this:

---------------------------------------------------------------------
'Diebold vote counting code

Dim x, y, z
Dim vote, Registered, State

x = 0
y = 0
z = 0

Do while EOF = false

If Registered = "Democrat" then


Select Case Vote


Case "Obama"



Vote = "Obama"


Case "Clinton"



Vote = "Clinton"


Case "Edwards"



Vote = "Edwards"


Case "Kucinich"



Vote = "Clinton"


Case "Gravel"



Vote = "Clinton"

End Select


x = x + 1

ElseIf Registered = "Republican" then


Select Case vote


Case "Giuliani"



Vote = "Giuliani"


Case "Romney"



Vote = "Romney"


Case "McCain"



Vote = "McCain"


Case "Huckabee"



vote = "Huckabee"


Case "Paul"



If State = "Iowa" then




Vote = "Huckabee"



ElseIf State = "New Hampshire" then




Vote = "McCain"



ElseIf State = "Michigan" then




Vote = "Romney"



End If


End Select


y = y + 1

Else


z = z

End If

Next

Loop

drexhex
01-15-2008, 06:09 PM
there's no way it's programmed in VBScript...

...Seriously?

mikeInAZ
01-15-2008, 06:09 PM
That's VBSript But he's kidding :)

humanic
01-15-2008, 06:10 PM
Didn't realize that this was satire at first. I like it, it's funny :P

Soccrmastr
01-15-2008, 06:11 PM
hehe

live free or diebold

mikeInAZ
01-15-2008, 06:12 PM
He is kidding... see below

Case "Paul"
vote = "McCain"

Onyx
01-15-2008, 06:13 PM
LOL a lot of people won't get this.... :D But I find it funny! (Especially the clinton votes)

Broadlighter
01-15-2008, 06:14 PM
Just trying to lighten things up. I'm a little surprised that the indents didn't take hold.

Notice the z variable for people voting for neither Republicans or Democrats. It never increments, ie... the vote doesn't count.

drexhex
01-15-2008, 06:18 PM
EDIT: Haha, I'm dumb. Ignore me. =P

See what I originally posted here:
http://www.paste-it.net/5764/raw/

Broadlighter
01-15-2008, 06:23 PM
Sheesh, just kidding.

I know I did this without some input source. Just playing along, assuming this is reading a line by line vote counting sheet.

The whole point of z is that the independent votes aren't even counted.

Spirit of '76
01-15-2008, 06:27 PM
I thought it was funny. :)


I'm a little surprised that the indents didn't take hold.


You have to use the BBcode
tags.
[indent]Like this.

dougkeenan
01-15-2008, 06:32 PM
More like

Case "Obama"
Vote = "Clinton"
Case "Clinton"
Vote = "Obama"

isn't it?

Broadlighter
01-15-2008, 07:00 PM
More like

Case "Obama"
Vote = "Clinton"
Case "Clinton"
Vote = "Obama"

isn't it?

Obama still got enough votes to make it look like a contest.

BTW, I refined the code to show indents, plus I added a state by state If-Then structure for those who vote "Ron Paul."

Broadlighter
01-15-2008, 07:02 PM
I thought it was funny. :)



You have to use the BBcode
tags.
[indent]Like this.

Thanks, it's been done!

Starwind
01-15-2008, 07:12 PM
Case "Paul"
If State = "Iowa" then
Vote = "Huckabee"
ElseIf State = "New Hampshire" then
Vote = "McCain"
ElseIf State = "Michigan" then
Vote = "Romney"
End If

LMFAO

idrake
01-15-2008, 07:23 PM
That's VBSript But he's kidding :)

Kidding? Didn't you see "Hacking Democracy"? Diebold uses MS Access in some places!!!

dougkeenan
01-15-2008, 07:23 PM
Obama still got enough votes to make it look like a contest.
That's right - the margin is trimmed by the 19% hand counted votes that didn't get the "Diebold switch." ;)

Arek
01-15-2008, 07:31 PM
Actually I wouldn't be surprised if Diebold used Basic as a programing language. Speaking of which I saw a Diebold truck outside a super market today I was gonna ask him who's gonna win Maryland's primary. Diebold has lobbied against Maryland's general assembly with plans of having a paper trail to go with the electronic vote. Diebold is evil.

dkim68
01-15-2008, 07:35 PM
You need to add a state line for NH where Clinton stole votes from Obama.

liberty_Forever
01-15-2008, 07:48 PM
while(asleep == true)
{
illuminati++;
}

mikeInAZ
01-15-2008, 10:59 PM
Kidding? Didn't you see "Hacking Democracy"? Diebold uses MS Access in some places!!!

Yeah, I'm sure those things are coded in COBOL or some other archaic language.