[Gretl-users] end something -- blank or not?
Allin Cottrell
cottrell at wfu.edu
Thu Jan 17 15:15:31 EST 2008
On Thu, 17 Jan 2008, Sven Schreiber wrote:
> I'm confused by the various 'end' statements, for example:
>
> endloop
> endif
>
> but
>
> end function
> end nls
> end gmm
end <whatever> (with a space) should always work, including for
"if" and "loop". We don't want to have specific "endfoo" commands
for all constructs that have to be ended. "endif" and "endloop"
are there for historical reasons, but I think this special
treatment can be rationalized -- on the grounds that "if" and
"loop" are generic syntactical elements.
Allin.
More information about the Gretl-users
mailing list