Jump to content

Dynamic Table


'LinKin

Recommended Posts

Hi,

I've a table like this:

myTable[1] = "1st Text"

myTable[2] = "2nd Text"

myTable[3] = "3rd Text"

myTable[4] = "4th Text"

myTable[5] = "5th Text"

Then, I add the event onClientRender to show the message that is in the first position of the table.

And after 5 seconds, I stop showing it.

But, after these 5 seconds, I also want to 'delete' the first position of the table, and move the other positions of it.

So it'd look like this:

myTable[1] = "2nd Text"

myTable[2] = "3rd Text"

myTable[3] = "4th Text"

myTable[4] = "5th Text"

So, the question is, what would happen to the 5th position of the table? Would it still occupate a memory's space?

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...