chrisb4748

How to keep most recent array at top of list?

2 posts in this topic

Hi Everyone,

I am working with a CJ2H-CPU68-EIP.

I have incoming data which is 20 characters long. The storage table which will hold the data is 1600 array and I am looking to find a way to keep my most recent stored in the array at the top of the table. I've tried using a LIFO but has been unsuccessful. 

Could someone give me a bit of advise on how to make this possible?   

Many Thanks,

Chris

Share this post


Link to post
Share on other sites

For 20 characters is mean use D 10 words? Assume that in D0 - D9 then could you split data on to 10 tables

such as

D0 -> table D1000 - D2599

D1 -> table D2600 - D5199

.

.

D9 -> table D15400 - D16999

then use LIFO to call back data to be in 20 character length words (such as D100 - D109)

Share this post


Link to post
Share on other sites

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