View Single Post
  #12  
Old 08-14-2011, 07:07 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Mark Sir Link View Post
just a habit I have from other languages, it seems bizarre to me to just immediately use an object without defining it.

I also don't get any RC error like that.
Does UN have error reporting (at runtime) logging to RC? Check that the "logscripterrorstofile" server option is false.

Arrays aren't objects any more than a normal string or number, defining it like that is just silly, not to mention wrong.

Quote:
Originally Posted by scripthelp
TGraalVar - object type, cannot be created by script
Would you do

PHP Code:
temp.gravity = new TGraalVar();
temp.gravity 3
?
__________________
Reply With Quote