I guess the keyword here is "not a compile-time constant". You can use 'null' but not 'new Array()' because it is calculated in run-time. Please, correct me if I'm wrong.
R. On 1/19/07, ben.clinkinbeard <[EMAIL PROTECTED]> wrote:
I just noticed that you cannot set default values for arguments of complex types like arrays and objects. The error given is 1047: Parameter initializer unknown or is not a compile-time constant, but that doesn't seem to hold water when the code looks like this: public function GetBatchContainersEvent(a_arr_containersToRetrieve:Array = ["IndustryTrends", "OptionalSections"]) Its obviously not hard to work around this, I just thought I would ask because it doesn't make sense to me. Thanks, Ben

