Hey guys!
I was just bored and had nothing to do so I made this super duper easy function. Let me tell you what it does.
Let us say, that we have a math thing to do
? + 321 = 485
And we are really stupid so we dont know how to solve it. We do like this.
We use my function!
This is pretty obvious what it does so here's how we are going to solve our "tricky situation"Code:Public Function Add(byval intyouknow as integer, byval intresult as integer) Dim i as integer = 0 Do until i + intyouknow = intresult i = i + 1 Loop Return i End Function
And that will return 164, since 164 + 321 = 485 (DERP)Code:Messagebox.Show(add(321,485))
Hope you liked it!![]()




Reply With Quote