Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: troubleshooting positional arguments


From   László Sándor <[email protected]>
To   [email protected]
Subject   st: troubleshooting positional arguments
Date   Fri, 27 Apr 2012 21:01:53 -0400

Dear all,

I hope I am just missing the obvious, but please help me why the code
below does not parse the third argument after a tokenize. I am pretty
sure I am doing standard things here. The relevant part of the trace
follows.

- tokenize `varlist'
  = tokenize y t psc
  - error ("`4'"!="" & "`psc'"!="")
  = error (""!="" & "psc"!="")
  - local y `1'
  = local y y
  - local w `2'
  = local w t
  - local x `3’
  - ereturn clear


Thanks,

Laszlo

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index