I am trying to put (2,1) in one cell in a table but I keep getting error messages: setcell(results,4,5,"(",ar1_1,",",ar1_2,")")
when I put each one in seperate cells then it becomes ( 2 , 1 ) which doesn't look good.
Any suggeston?
thanks
setcell for tables
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Jason
- EViews Developer
- Posts: 870
- Joined: Tue Sep 16, 2008 3:50 pm
Re: setcell for tables
Try
Code: Select all
setcell(results, 4,5 ,("(" + @str(!ar1_1) + "," + @str(!ar1_2) + ")"))Re: setcell for tables
I got error message then I removed "!", then it worked. Thanks a lot for your help.
setcell(results, 4,5 ,("(" + @str(ar1_1) + "," + @str(ar1_2) + ")"))
setcell(results, 4,5 ,("(" + @str(ar1_1) + "," + @str(ar1_2) + ")"))
-
EViews Jason
- EViews Developer
- Posts: 870
- Joined: Tue Sep 16, 2008 3:50 pm
Re: setcell for tables
I presumed ar1_1 and ar1_2 were numeric variables in your program. It sounds as though they are scalars in your workfile, in which case you are correct the ! is not needed.
Re: setcell for tables
yes, they are scalars.
Who is online
Users browsing this forum: No registered users and 2 guests
