Scott: That is for adding ASSERT support to the compiler, not for
automatically inserting ASSERT statements into your .as source files.

Nathaneal: Templates wouldn't help so much, he (and I, now) wanted
this to be automatic, to run on all your .as files before compiling
them. Templates, if i understand them correctly, are just for
inserting a block of often-used code, when you hit a hotkey or
something.

-David R

On 12/9/05, Scott Hyndman <[EMAIL PROTECTED]> wrote:
> http://www.osflash.org/hamtasc#adding_assert
>
>
> -----Original Message-----
> From:   [EMAIL PROTECTED] on behalf of Benjamin Jackson
> Sent:   Thu 12/8/2005 2:27 PM
> To:     Open Source Flash Mailing List
> Cc:
> Subject:        [osflash] Actionscript Pre-preprocessors
>
> Anyone out there who has done this and can point me in the right
> direction? I'm thinking for example:
>
> public static function myFunction(myParam:String, myParam2:MovieClip)
> {
>    // some code ...
> }
>
> to
>
> public static function myFunction(myParam:String, myParam2:MovieClip)
> {
>    ASSERT(null != myParam, "Null pointer reference");
>    ASSERT(typeof(myParam) == "string", "Type of myParam should be of
> type String");
>    // some code ...
> }
> ___________________
> Ben Jackson
> Diretor de Desenvolvimento
>
> [EMAIL PROTECTED]
> http://www.incomumdesign.com
>
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
>
>
> _______________________________________________
> osflash mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
>

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to