Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Number of elements in Global


From   [email protected]
To   [email protected]
Subject   st: RE: Number of elements in Global
Date   Wed, 9 Nov 2005 09:49:04 -0500

You can also try :
local n : list sizeof global A
Best regards.
Amadou.
                                                                                 
                                                                                 
                                                                                 
 Thank you very mauch!                                                           
 --- Jose Valderrama <[email protected]> a �crit                          
 :                                                                               
                                                                                 
 > global A "var1 var2 var3"                                                     
 > global nA :  word count $A                                                    
 > dis $nA                                                                       
 >                                                                               
 > Jos� A. Valderrama                                                            
 >                                                                               
 > -----Mensaje original-----                                                    
 > De: [email protected]                                      
 > [mailto:[email protected]] En                              
 > nombre de PNIR                                                                
 > PUISSANCE                                                                     
 > Enviado el: Mi�rcoles, 09 de Noviembre de 2005 09:25                          
 > a.m.                                                                          
 > Para: [email protected]                                          
 > Asunto: st: Number of elements in Global                                      
 >                                                                               
 > Dear all!                                                                     
 > How can I get the number of element in global.                                
 > Like:                                                                         
 > global A "var1 var2 var3....varN"                                             
 >                                                                               
 >                                                                               
 >                                                                               
 >                                                                               
 >                                                                               
                                                                                 
 ------------------------------------------------------------------------------- 



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