O'Reilly logo

TcL Scripting for Cisco IOS by - CCIE No. 7016 Arvind Durai, - CCIE No. 7050 Raymond Blair, John Lautmann

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Tcl Interpreter and Language Basics

This chapter covers the following topics:

Simple Variables in Tcl

Procedures

Arrays

if Command

switch Command

Files

This is where the rubber meets the road. Without a fundamental understanding of the command syntax, you will be unsuccessful in writing any programs whatsoever. Reading and attempting to memorize command syntax can be arduous and boring. To really get an idea of how to use commands in this chapter, a better solution is to use them in practice.

Tcl interpreters are supported on Mac, UNIX/Linux, Windows, and other operating systems. You can visit the Tcl Developer Xchange website at http://www.Tcl.tk/ or perform a search for the latest Tcl interpreters.

Note

To determine ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required