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

st: RE: list command

From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: RE: list command
Date   Mon, 4 Aug 2008 17:18:03 +0200

Well, how is Stata supposed to figure out whether string "2" is greater than
string "3"? Numbers in the format of string have no natural order. Just
-destring- them.

Martin Weiss

Diplom-Kaufmann Martin Weiss
Mohlstrasse 36
Room 415
72074 Tuebingen

Fon: 0049-7071-2978184




-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Daniel
Sent: Monday, August 04, 2008 5:04 PM
To: [email protected]
Subject: st: list command


I have a question about list command; this is what I'm doing:

list ndc old_ndc e49_ gpi g64_ if gpi>"2"

gpi is a str variable (it is a 14 digit code) & I know is wrong but I can
not figure it out how I can ask the program give me all ndc that has 2 or
more gpi.Thanks

Regards -- DSA

*   For searches and help try:

*   For searches and help try:

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