Yes okay, so I can do this kind of iteration in the main function (often I do it that way but sometimes in a function call) and still get cloning not referencing right?

Correct -- you'll want this to be a function outside of main, since its final incarnation will almost certainly be recursive (and calling main a bunch makes you look like a terrible programmer, even if you do manage to get it right somehow ;).

Yeah an old screen shot saved me on my last project ;) One day I would like to get to the bottom of that. I was able to write the JS in a fresh patch carefully testing for parsing as I went and I got it functioning but the exact same text was jamming in another JS patch no matter how much I retyped it. I feel the JS patch is a little illogical at times (as in it gets broken), if that's a good way to put it.


I don't think I've seen that -- If you can find some code that works in one place, but not another, I'd be interested to see it (the code and the composition). 10.4 to 10.5 saw some radical changes to how JS was implemented, and confusion there would make it act weird, but otherwise JS is pretty robust, and shouldn't be too inconsistent (I mean, it's the /exact same/ engine that's driving safari -- that gets billions of hours of runtime and testing, so any quirks like that would be quick to isolate). Not saying there aren't bugs, just that there are many more subtle user-error things that usually come into play, esp in an environment like QC where the rules aren't always explicitly clear (like no modifying inputs, or testmode, for example).

--
[ christopher wright ]
[email protected]
http://kineme.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]

Reply via email to