View Single Post
  #16  
Old 04-02-2007, 11:06 PM
godofwarares godofwarares is offline
Webmaster
godofwarares's Avatar
Join Date: Dec 2006
Location: Florida
Posts: 552
godofwarares is on a distinguished road
Send a message via ICQ to godofwarares Send a message via AIM to godofwarares Send a message via MSN to godofwarares Send a message via Yahoo to godofwarares
Quote:
Originally Posted by Riot View Post
message(NULL); will work fine. "" is considered null as far as Graal is concerned, as is 0.

The following works fine:
HTML Code:
function onCreated()
{
  message("test");
  this.scheduleEvent(1, "hide", null);
}

function onHide()
{
  message(null);
}
It, however, won't work if you just assign this.chat. this.chat = null; would make the current object's chat "0"
I know, But it's good practice to use message(""); ... No non-strings are acceptable xP
__________________
What signature? I see no signature?
Reply With Quote