Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

st: RE: troubleshooting positional arguments

From   Philip Ryan <>
To   "" <>
Subject   st: RE: troubleshooting positional arguments
Date   Sat, 28 Apr 2012 02:30:20 +0000


On my screen, the right single quote after 3 in this line:

local x `3’

appears to be a different character from the right single quotes delimiting the other positional macros.  


-----Original Message-----
From: [] On Behalf Of László Sándor
Sent: Saturday, 28 April 2012 10:32 AM
Subject: st: troubleshooting positional arguments

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



*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index