I don't like the idea of a listbox. It requires a form. Who knows if the application even has a form. I suggest a Collection.
[CODE=vb]Dim stack as New Collection
Sub push(whatever as Object)
stack.add(whate ver)
End Sub
Function pop()
if stack.Count = 0 then
Call MsgBox("Error stack is empty!")
Set pop = Nothing
Else
...
User Profile
Collapse
-
Last edited by Killer42; Oct 22 '07, 03:00 AM. -
Try arctan((y2-y1)/(x2-x1))
By the way, I read all of the replies and every one of them is wrong. The tangent of an angle is the change in Y divided by the change in X. The change in X divided by the change in Y is the cotangent!!!...Leave a comment:
No activity results to display
Show More
Leave a comment: