View Single Post
  #4  
Old 05-15-2013, 12:22 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 JohnnyChimpo View Post
Thanks, i havent implemented to see if that works yet but i will. I have another question, would it be reasonable to declare these variables as global considering the situation, instead of making two sets of the same thing. Eventually im going to just make one object out of them, because i was having trouble figuring out why i couldnt pass objects in triggers but it was cleared up by fp4 i think. That is insanely important and im kinda upset its not in any documentation.
Not sure what you mean by global variables.

What are you trying to make? Some kind of text editor for po files?

Also note that this isn't doing what you think it is:

PHP Code:
this.fileArray.lines ={null}; 
That's creating an array with one element, null. You want just

PHP Code:
this.fileArray.lines = {}; // or null, but not both 
__________________
Reply With Quote