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
<<winmail.dat>>
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
