Can anybody explain to me why I am getting a 'no default value error' all the time it's killing me?

Simple example code:

function (__structure Out) main (__structure Input)
{
var result = new Object();
if (!_testMode && Input) {
CR = String.fromCharCode(13);
Log(CR+CR+CR+"####    Test this error that says \"TypeError: No default value\"    ####"+CR)
for (i in Input)
{
_in = Input[i];
/*
This line works:
*/
Log (i+":  _in: ");
/* 
These line doesn't!
Log (i+":  _in: "+_in);           <—— Here
Log (i+":  _in: "+Input[i]);      <—— And here !                         
*/
}
result.Out = true;
}
return result
}

Composition is attached for testing.


On a side not I just found that my often cited problems with the JS patch not parsing perfectly good code (as delete everything except for four lines of code) can be got around sometimes by doing the save, close comp, open comp shuffle. Doesn't always work though :/ Perhaps this got fixed on 10.6 so I sound like an idiot talking to himself?

Attachment: Why do I get this no default value error all the time?.qtz
Description: application/quartzcomposer


Best
Alastair



The machine does not isolate man from the great problems of nature but plunges him more deeply into them. 
Antoine de Saint-Exupery 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (Quartzcomposer-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to