Bob Ippolito wrote: > You're missing the point entirely. addLoadEvent takes a *function* as > an argument, and you're passing in the *result* of a function call.
So then it's simply a matter of the existence of () or not at the end of the function name. When () is missing it passes the function as the argument. When () is present it executes the function in place per standard-programming-happenings. Ultimately it doesn't matter that I added an argument to the declaration but just that I tried to pass an argument at runtime. I just tested this idea and it appears to be true. Is there a name for this? Chris. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit -~----------~----~----~----~------~----~------~--~---
