[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: obtaining the value of c(byteorder) in Mata
Forgive me if I'm missing something obvious here, but my
understanding was that values of c() scalars were to be referenced in
Mata using st_numscalar() and st_strscalar(). Yet while this appears
to work for numeric scalars, it doesn't seem to work for string scalars:
. mata: st_numscalar("c(SE)")
1
. mata: st_strscalar("c(byteorder)")
. di c(byteorder)
hilo
Could someone point out what I'm doing wrong?
-- Phil
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/