Jump to content

How do you call this way of recreive data?


IIYAMA

Recommended Posts

  • Moderators

How do you call this way of recreive data? and is this a good or bad way?

pls don't start about function etc.... it is just a sample..

  
test = {} 
test[1]=2 
test[2]=3 
test[3]=4 
test[4]=1 
  
A = 4 
B = test[A] 
  
outputChatBox (B) -- output in chatbox 1 
  

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...