Skip to content
Tcl Source Code View Ticket
Login

View Ticket

[interp exists] accepts 0 arguments

Open2544760fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2009-01-29 06:06:20
Docs for [interp exists] :

interp exists path
  Returns   1  if a slave interpreter by the specified path exists
  in this master, 0 otherwise. If path is  omitted,  the  invoking
  interpreter is used.


Except for the last sentence, it appears
to demand exactly one argument.  The last
sentence lacks clarity.

As implemented, [interp exists] with zero
arguments is just an obscure way to write "1".

I think it's pointless and best removed.
Log in (anonymous is fine) to add a comment.