On Dec 5, 2007, at 1:00 PM, Henry Minsky wrote:
Does the script compiler accept return types on functions?
e.g.,
public function setFontStyle ( fstyle:String ):void { ... }
I've been putting them in the code I'm writing in as3 for the kernel ,
and eventually will want to compile
it with our compiler.
No it doesn't, I'll fix it. I did types on vars and params and casually
assumed that the type syntax for function would also hang off the
identifier setFontStyle:void () {...} Of course that's *not* the
way it works.
- Don
--
Don Anderson
Java/C/C++, Berkeley DB, systems consultant
Voice: 617-547-7881
Email: [EMAIL PROTECTED]
WWW: http://www.ddanderson.com