|
-
Jan 2nd, 2004, 06:08 AM
#1
Thread Starter
pathfinder
Quicky on "Overloaded"
Originally posted by AFterlife
Originally posted by Mike Hildner
Side note.
Although I guess I understand the "rules" of rounding, logically this does not make sense to me:
visual basic code:--------------------------------------------------------------------------------
MsgBox(Math.Round(42.5, 0)) ' Displays "42"
MsgBox(Math.Round(43.5, 0)) ' Displays "44"
--------------------------------------------------------------------------------
But that's the design.
also your msgbox is legacy code for message box
it should be messagebox.show(and in here goes your stuff)
it is a overloaded procedure so its much more versatile then
msgbox.
Overloaded. Exactly what does that mean?
And, if MsgBox("Whatever") achieves satisfactory results, even if messagebox.show, being "overloaded", is much more versatile, why would messagebox.show("whatever") be better than msgbox("whatever")?
Is it a speed thing? Does it give the user .01 more milliseconds to notice that a msgbox has popped up?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|