Forums

This topic is locked

New bug ??

Posted 19 Oct 2001 09:54:20
1
has voted
19 Oct 2001 09:54:20 Bruno Mairlot posted:
Hi all,

I've discovered a very strange behavior from DW/UD while developping command.

Does anyone had the same trouble, because I wondered if it's me or if it's a bug...

The behaviors happens when calling dreamweaver.runCommand("commandName.html",arg1,arg2,...)

To get these argx, you must define a function called receiveArguments(...).
If the number of arguments after the command name exceeds 10 arguments, then, into the command called, when you're treating the 10th argument, dreamweaver stops the execution of the code, and terminate the function.

Everything else is working (initiliazeUI, Event,...) but obviously the code you've written about the 10th argument is never executed...

Ok, I know that more than 10 argument does not happen very often, but well it might happen.

Note that i've found a workaround : use the receiveArguments.arguments array to reference arguments, but it is strange.


--- Better to die trying, than never try at all ---

Replies

Replied 20 Oct 2001 11:10:22
20 Oct 2001 11:10:22 Waldo Smeets replied:
I was not aware of this problem. Strange, but your workaround is nice.

Waldo Smeets - www.UDzone.com Webmaster
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>

Reply to this topic