Version 0 of lgets

Updated 2009-06-14 10:38:51 by dkf

This command is part of the TclX package.

lgets fileid ?varname?

Reads the next Tcl list from the given fileid, returning it or, if varname is given, storing it in the variable and returning the number of characters read (not including the terminating newline) or -1 in an error case (similar to gets).

Use puts to reverse the operation.