• Post Reply Bookmark Topic Watch Topic
  • New Topic

previous and cur array problem  RSS feed

 
ilteris kaplan
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi List,

I have a multidimensional array as a field in my class which I declare at the runtime and get its elements values from a php file through parsePHP method that I have.

also calling parsePHP function is running by a thread every 5 seconds,so what I am trying to do is to keep the previous array in an another field called prevArr.

so this is my class and when I trace the prevArr in the getDifference method it gives me the same values as the curArr. I think I am missing something here.

I would appreciate any help.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!