I'm just starting to work with Quartz and JavaScript and running into some brick walls with structures.

Here is the code I have:

function (__string output) main (__structure show_data)
{
        var result = new Object();
        
        var value = show_data[0];

        result.output = value;
        
        return result;

}

This is throwing the error TypeError: Null Value but I have no clue why that wouldn't be valid. Can anybody tell me what I'm doing wrong here? The structure entering the JavaScript patch is a simple, four value structure like so:

0: "time" = 4:30
1: "load" = 4:15
2: "line" = 4:00
3: "avail" = 0


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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