• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

array to graphic mapping

 
Anandh Ramesh
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a set of arrays with strings stored in them. i need to display the values in the arrays inside boxes (squares). these boxes should be updated as and when the array gets updated. can somebody help me on how this can be done?
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Anandh Ramesh
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the code. i see that this generates a grid of strings. however, let me put my requirement this way.

i have n queues with strings, say 4.
i have n sets of boxes corresponding to these n queues, with the corresponding elements.
i have a function that pops one queue and pushes that element into another queue.
i want the contents inside these boxes to get updated whenever these queues are modified.

any help is greatly appreciated.
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic