Page 1 of 1

Scalar from Table is a Character Error

Posted: Thu Jul 12, 2018 7:29 am
by BCNAV
I have an eviews table with numbers in it. All are verified numeric. When I enter the following:

scalar row2col3 = a_mape_feval_ifr(2,3)

I get the error String assigned to scalar. How can this be if the table is listed as fixed decimal with the number 1.681044304838171

thanks

Re: Scalar from Table is a Character Error

Posted: Thu Jul 12, 2018 7:42 am
by EViews Gareth
All elements of a table are a string. Use @val to convert to a scalar.

Re: Scalar from Table is a Character Error

Posted: Thu Jul 12, 2018 8:43 am
by BCNAV
forgot about that....thanks!