Passing ";" as the separator to join() would do the trick:
eval(this.onXXXCodes.join(";"));
/Lunna
At 2001-03-25 21:12, you wrote:
>Of course that assumes that you have semicolons at the end of each
>element. Maybe we can check for that in the addOnloadCode methods.
>
>--
>Robert Rainwater
>
>
>On 3/25/2001, 4:01:49 AM EST, Michael wrote about "[Dynapi-Dev] OnXXXCodes
>execution.":
>
>> Since we have now changed the setup so that they are an array of strings
>> of code, it is now possible to do the following:
>> eval(this.onXXXCodes.join());
>
>> This should be faster than executing then individually as we step
>> through the array.
>
>> I apologise if this post is a bit out of date (suggestion may have
>> already been made). My email account is down and I'm in limbo at the
>> moment.
>> --
>> Michael Pemberton
>> [EMAIL PROTECTED]
>> ICQ: 12107010
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev