Name
lvarpush
- lvarpush
var string
[indexExpr
] Insert
string
as an element of the list stored invar
before positionindex-Expr
(default 0).Indices start at 0, and the words
end
andlen
can be used at the beginning of the expression to indicate the index of the last element and length of the list, respectively.
Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.