How to check if a class instance has a null value
So what's the syntax in bgt to check if a class object has a null value or not? It's not covered in the language tutorial.
Here's an example of what I'm trying to do
class object
{
//bunch of shtuff goes here
}
object@[] blah;
blah.resize(5);
void main()
{
if(blah[0]==null)
{
alert("Booya", "Booya, this entry is null.");
}
_______________________________________________ Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector