Sorting Question

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

kcaron
Posts: 89
Joined: Wed Mar 04, 2015 11:46 am

Sorting Question

Postby kcaron » Tue Nov 07, 2023 3:02 pm

In excel, sorting a table of stock tickers and prices is simple.

But I can't figure out the best way to do this in EViews.

I usually put data into tables or matrices during the course of running a program.

To my knowledge, tables are not easy to sort and resort, and matrices can't hold strings (like tickers).

So my question is what is the best way to store a list of stock tickers (text) with related data (numbers) so that the data "stays with" the tickers.

It seems like neither tables nor matrices are built for this, or I am missing something entirely.

Many thanks in advance!
KC

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13323
Joined: Tue Sep 16, 2008 5:38 pm

Re: Sorting Question

Postby EViews Gareth » Tue Nov 07, 2023 3:10 pm

Follow us on Twitter @IHSEViews

kcaron
Posts: 89
Joined: Wed Mar 04, 2015 11:46 am

Re: Sorting Question

Postby kcaron » Tue Nov 07, 2023 3:52 pm

Well... That looks easy.
Thank you.


Return to “Programming”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 21 guests