Thread: Reset GUI
View Single Post
  #13  
Old 08-18-2008, 11:53 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by Crow View Post
I'm actually doing that too, especially in large blocks of code, to quickly see what important variables the script is using.
I'd rather do something like this:

PHP Code:
function onCreated()
{
  
this.var = 1337;
  
this.array = {"foo""bar""baz" };
  
// Etc.. then:
  // this.importantVar1 - used for foo and bar, in the baz block
  // this.importantVar2 - used to determinate the level of foo'nes from baz
  // Etc!

__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote