How to know if alpha is empty

For questions regarding programming in the EViews programming language.

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

javiersan
Posts: 184
Joined: Mon Jan 19, 2009 8:18 am

How to know if alpha is empty

Postby javiersan » Tue Nov 16, 2010 5:41 am

Hello,

I want to know if an alpha object is empty. I can do the following:

Code: Select all

series ll=@len(myalpha) !maxl=@max(ll)
where myalpha is the alpha series and !maxl will be zero if the alpha is empty.

Is there a command to replicate this?

Thanks,

Javier

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

How to know if alpha is empty

Postby EViews Gareth » Tue Nov 16, 2010 7:59 am

That's as good as you're going to get, I think.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest