How to use Lappend in TCL

   Generally, the main function of lappend is to append the list elements on to a variable. By this article, you can get to know about the process to use lappend in TCL.

 Lappend in TCL

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.

Variable declaration in TCL

    The following syntax is used for lappend based variable declaration,

lappend varName?value value value…?

The below sample TCL script is used to create a list with three elements,

lappend my_list one two three

The following sample TCL script is used for add one or more element into the list.

lappend my_list four

Research topics using TCL   

    The following are some of research topics using TCL,

  • An Efficient routing and communication between the vehicles and V2x
  • An Efficient Intrusion Detection System (IDS) for detect the DOS Attack.
  • Light Weight Authentication Based Clustered AODV for secure routing in WSN.

We hope that, through this article you know that how to use Lappend in TCL .If you have any queries, please contacts us …

Opening Time


Lunch Time


Break Time


Closing Time


  • award1
  • award2