Allin,
Please forgive the silly question, but just out of curiosity
Why is the double minus "--" ok?
Logan
Sent from my T-Mobile 4G LTE Device
<div>-------- Original message --------</div><div>From: Allin Cottrell
<cottrell(a)wfu.edu> </div><div>Date:2015/03/14 9:15 AM (GMT-06:00)
</div><div>To: Gretl list <gretl-users(a)lists.wfu.edu>
</div><div>Cc: </div><div>Subject: Re: [Gretl-users] why the
error </div><div>
</div>On Sat, 14 Mar 2015, Sven Schreiber wrote:
Am 14.03.2015 um 09:36 schrieb Qi Shi:
> ? list X=dummify(Z5) --drop-first
>> list X=dummify(Z5) --drop-
> The symbol 'drop' is undefined
>
> Error executing script: halting
>> list X=dummify(Z5) --drop-first
> "
>
> why did i encounter the error?
>
You're mixing up the 'dummify' command with the 'dummify()'
function.
Only the command takes these double-dash-style options like
"--drop-first". For the function you have a second argument, please see
the help for that (haven't used it myself yet).
Remark for Allin and Jack:
BTW, I think the error message is strange insofar as IMO the parser
should complain already about the "--" in there, not about the
"drop"
word, no? But perhaps this has been changed since last release.
The "--" is in principle OK if interpreted as "minus minus",
as in "y = f(x) --a".
Allin
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users