[Seaside] Re: Re: Re: Re: SUPeriodical - changing the frequencyonthe fly

Ramon Leon ramon.leon at allresnet.com
Fri Aug 25 16:42:37 UTC 2006


> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org 
> [mailto:seaside-bounces at lists.squeakfoundation.org] On Behalf 
> Of Frank Sukhu
> Sent: Friday, August 25, 2006 8:32 AM
> To: seaside at lists.squeakfoundation.org
> Subject: [Seaside] Re: Re: Re: Re: SUPeriodical - changing 
> the frequencyonthe fly
> Thanks for your help - of course it worked perfectly.
> There a few bits that I still do not understand.
> 1. Where does  the "arguments[0]"  - come from?  who fills in 
> the array "arguments"?
> 2. I see in your example code that you have a line of debugging code:
> 'console.log("change", arguments)'.  Does this result in the 
> information being written tothe Javascript console?  This 
> would be so useful but in my environment it complains about 
> "console".  How do I get this to work?
> I can continue my work witout the answers to these questions 
> but it would be nice to know how this works.
> Again, many thanks,
> Frank

arguments is an array available within any JavaScript function, it's part of
JavaScript's meta model, and allows you to access args as a list, useful
when passing in an unknown number of arguments to a function, somewhat like
a param array in Csharp.

More information about the Seaside mailing list