Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: sort order of empty strings in Mata


From   Phil Schumm <[email protected]>
To   [email protected]
Subject   st: sort order of empty strings in Mata
Date   Tue, 9 May 2006 05:46:46 -0500

In Mata, empty strings sort to the bottom rather than to the top (as they do in Stata):

. di (""<"a")
1

. mata: ""<"a"
0

Is anyone aware of the reason for this (I couldn't seem to find it in the documentation)?


-- 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/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index