yeah, that fixed it.. thanks! :) On Thu, Apr 10, 2008 at 1:59 AM, Troy Koelling <[EMAIL PROTECTED]> wrote:
> Are you checking whether the __structure != null? A common problem that > people face is that the script will run once with all inputs null and fail > if you try to do anything with them. It may not be the values inside the > structure, but the structure itself which is null. > After the first run (compilation run) the structure will have a value and > you can access elements inside it. > > Troy > > On Apr 9, 2008, at 4:29 PM, Markus Hamburger wrote: > > sorry for bothering with trivial stuff like this but i just cant get it > right :) > i am creating a structure in a JS-patch just by putting out a array of > booleans on the out-port. when i try to access this structure in another > JS-patch i get TypeError: Null Value compiler fault in the JS-patch.. > In all examples i've seen people are just using __structure on the in-port > > as a normal array.. what is the trick? :) > > here is the patch and the structure i am trying to access: > http://skitch.com/m4rkus/jg1r/wii-sequencer-editor > > (first i thought JS failed to convert "1" into a boolean, but i get this > error regardless of how i access the struct, > i tried " var tmpvar = sequence[0]; with TypeError as result as well) > > > > -- > markus hamburger > www.uprough.net _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Quartzcomposer-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > > http://lists.apple.com/mailman/options/quartzcomposer-dev/tkoelling%40apple.com > > This email sent to [EMAIL PROTECTED] > > > -- markus hamburger www.uprough.net
_______________________________________________ Do not post admin requests to the list. They will be ignored. Quartzcomposer-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]

