lappend - Online Linux Manual PageSection : n
Updated :
Source : Tcl
Note : Tcl Built-In Commands
NAMElappend − Append list elements onto a variable
SYNOPSISlappend varName ?value value value ...?
.\}
DESCRIPTIONThis command treats the variable given by varName as a list and appends each of the value arguments to that list as a separate element, with spaces between elements. If varName does not exist, it is created as a list with elements given by the value arguments. Lappend is similar to append except that the values are appended as list elements rather than raw text. This command provides a relatively efficient way to build up large lists. For example, ‟lappend a $b” is much more efficient than ‟set a [concat $a [list $b]]” when $a is long.
EXAMPLEUsing lappend to build up a list of numbers. % set var 1
1
% lappend var 2
1 2
% lappend var 3 4 5
1 2 3 4 5
SEE ALSOlist(n), lindex(n), linsert(n), llength(n), lset(n), lsort(n), lrange(n)
KEYWORDSappend, element, list, variable 0
Johanes Gumabo
Data Size : 6,468 byte
man-lappend.nBuild : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 4 / 201,686
Visitor ID : :
Visitor IP : 18.191.118.36 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (rof_escape_sequence_block|26|(null)|(null)|-1|141) (parse_manual_page_|249|lappend.n|283/141|══─}─══|.══─}─══
) (htmlprn|149|lappend.n|283/141|.══─}─══|.══─}─══
) (rof_escape_sequence|91|lappend.n|283/142|\}|.\}
) (parse_manual_page_|249|lappend.n|283/142|\}|.\}
)