[javascript-dev] setting up inlets and outlets
Emmanuel Jourdan
c74-mailinglists at e--j.com
Sun May 18 11:57:21 MDT 2008
- Previous message: [javascript-dev] setting up inlets and outlets
- Next message: [javascript-dev] Re: setting up inlets and outlets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 18 mai 08, at 17:42, Glen wrote:
> Hi all,
>
> This is a most fundamental of problems and searching the forum for
> inlets or outlets gives a few unrelated replies.
>
> Max does not like the way I have declared the following because it
> stubbornly keeps only one inlet and one outlet. Please help.
>
> // some global statements
> inlets = 2;
> outlets = 2;
>
> function msg_ing(a) {
> // some local statements
> outlet(1, a); // js: bad outlet index 1
> }
That should work if you write "js yourjsfile.js" in a box, it should
appear with 2 inlets and 2 outlets. How are you instantiating your js
object?
ej
- Previous message: [javascript-dev] setting up inlets and outlets
- Next message: [javascript-dev] Re: setting up inlets and outlets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
