4 options
Tcl/Tk8.5 programming cookbook : over 100 great recipes to effectively learn Tcl/Tk8.5 / Bert Wheeler.
- Format:
- Book
- Author/Creator:
- Wheeler, Bert.
- Language:
- English
- Subjects (All):
- Tk toolkit.
- Programming languages (Electronic computers).
- Computer programming.
- Physical Description:
- 1 online resource (236 p.)
- Edition:
- 1st edition
- Place of Publication:
- Birmingham, U.K. : Packt Pub., c2011.
- Language Note:
- English
- System Details:
- text file
- Summary:
- Over 100 great recipes to effectively learn Tcl/Tk 8.5
- Contents:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: The Tcl Shell; Introduction; The Tcl shell; Writing to the Tcl console; Mathematical expressions; Tcl expr operands; Mathematical functions; Computing mathematical expressions; Referencing files in Tcl; Variables; Command line arguments; Chapter 2: Using the Building Blocks Control Constructs; Introduction; Controlling flow with the if statement; Looping with for; Looping with foreach; Looping with while; Continuing a procedure; Breaking out of a procedure; Nested looping
- Chapter 3: Error HandlingIntroduction; Using the catch command; Using the eval command; Using the error command; Error handling procedure; Chapter 4: Handling String Expressions; Introduction; Appending to a string; Formatting a string; Matching a regular expression within; a string; Performing character substitution; on a string; Parsing a string using conversion specifiers; Determining the length of a string; Comparing strings; Comparing a string of characters; Locating the first instance of a character; Locating the index of a character; Determining the class of a string
- Locating the last instance of a stringDetermining the size of a string; Replacing values within a string; Locating a pattern within a string; Returning a range of characters; from a string; Creating a string of repeated characters; Replacing ranges of characters; contained within a string; Creating a reverse string; Converting a string to lowercase; Converting a string to title; Converting a string to uppercase; Trimming a string; Trimming leading whitespace; Trimming trailing whitespace; Locating the word end; Locating the word start; Performing variable substitution
- Chapter 5: Expanding String Functionality Using ListsIntroduction; Creating a list; Joining two lists; Joining list elements; Appending list elements; Assigning list elements to variables; Retrieving an element from a list; Inserting elements into a list; Determining the number of elements; Getting a list element; Repeating elements; Replacing elements; Reversing elements; Searching a list; Editing a list; Sorting a list; Splitting a string into a list; Chapter 6: The Tcl Dictionary; Introduction; Creating a dictionary; Appending to a dictionary; Determining if a key exists
- Filtering a dictionarySearching a dictionary; Getting a record; Incrementing a value; Getting the dictionary structure; Getting a list of keys; Appending to an existing record; Merging two dictionaries; Creating a blank dictionary structure; Updating variables from a dictionary; Determining the size of a dictionary; Getting all records; Assigning values; Chapter 7: File Operations; Introduction; Opening a file; Configuring a file; Opening a command pipeline; Writing a file; Reading a file; Closing a file; File handling; Chapter 8: Tk GUI Programming with Tcl/Tk; Introduction
- Creating a widget
- Notes:
- Includes index.
- ISBN:
- 9786613012944
- 9781283012942
- 1283012944
- 9781849512992
- 184951299X
- OCLC:
- 796383133
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.