 Stands for Tool Command Language  Used for rapid prototyping, GUIs, and scripted applications  Created by John Ousterhout in 1988 out of frustration.

Slides:



Advertisements
Similar presentations
Foundations of Programming and Problem Solving Introduction.
Advertisements

For(int i = 1; i
COMPUTER PROGRAMMING Task 1 LEVEL 6 PROGRAMMING: Be able to use a text based language like Python and JavaScript & correctly use procedures and functions.
LAB 3 NS2 Preliminaries. Contents TCL/OTCl Fundamentals Creating Network Setting Connections Generating Traffic Inserting Errors Configuring for multicast.
Introduction to JavaScript
Syscall in MIPS Xinhui Hu Yuan Wang.
Enter question text... 1.Enter answer text.... Enter question text... 1.Enter answer text...
Enter question text... 1.Enter answer text.... Enter question text... 1.Enter answer text...
JavaScript- Processing HTML Forms. Event Handlers Begins with and ends with.
CS Lecture 03 Outline Sed and awk from previous lecture Writing simple bash script Assignment 1 discussion 1CS 311 Operating SystemsLecture 03.
3D Modelling & Animation
Java Programming Working with TextPad. Using TextPad to Work with Java This text editor is designed for working with Java You can download a trial version.
Unix Continuum of Tools Do something once: use the command line Do something many times: –Use an alias –Use a shell script Do something that is complex.
Programming for Image Processing/Analysis and Visualization using The Visualization Toolkit Week 2: An Introduction to Tcl Xenios Papademetris
Tcl and Tk CSE 470 Fall 1999 Revised by Prasad. Objective To use Tcl Tk to develop GUI and prototype of the project.
Scripting Languages. Originally, a script was a file containing a sequence of commands that needed to be executed Control structures were added to make.
Introduction to Perl Software Tools. Slide 2 Introduction to Perl l Perl is a scripting language that makes manipulation of text, files, and processes.
General Computer Science for Engineers CISC 106 Lecture 26 Dr. John Cavazos Computer and Information Sciences 04/24/2009.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Introduction to JavaScript. Aim To enable you to write you first JavaScript.
The Safe-Tcl Security Model John K. Ousterhout Jacob Y. Levy Brent B. Welch Sun Microsystems Laboratories 2550 Garcia Avenue, MS UMTV Mountain View,
1 Scanner objects. 2 Interactive programs We have written programs that print console output. It is also possible to read input from the console.  The.
CS110/CS119 Introduction to Computing (Java)
2008 Bangkok, Thailand Scripting Tools, languages and the Shell intERLab at AIT Network Management Workshop March – Bangkok, Thailand.
Introduction to Computing Concepts Note Set 11. Other ways of interacting with Java programs There are: ▫ GUI programs ▫ Web-based applets (GUI programs.
Tcl/Tk package in R Yichen Qin
Tcl/Tk: An introduction D. Kim, K. Kundu, and M. Siegel November 26, 2002 CMSC 631.
An overview of scripting languages Alexander Kanavin Teachers: Barbara Miraftabi, Jan Voracek.
GNU Compiler Collection (GCC) and GNU C compiler (gcc) tools used to compile programs in Linux.
Tool for Automation and Testing
Can we talk?. In Hello World we already saw how to do Standard Output. You simply use the command line System.out.println(“text”); There are different.
Intro to Python Adriane Huber Debbie Bartlett Python Lab #1Python Lab #1 1.
Intro to PHP IST2101. Review: HTML & Tags 2IST210.
Programming Fundamentals 2: Simple/ F II Objectives – –give some simple examples of Java applications and one applet 2. Simple Java.
Chapter Three The UNIX Editors.
Dialog Boxes.
Introduction to Taverna Online and Interaction service Aleksandra Pawlik University of Manchester.
9-Nov-97Tri-Ada '971 TASH An Alternative to the Windows API TRI-Ada ‘97 Terry J. Westley
TCL TK. Tcl/Tk C functions can become Tcl commands that are invoked interactively Tk = scriptable, portable user interface –Windows, X (Unix), MacOS,
1 Server versus Client-Side Programming Server-SideClient-Side.
Python Lesson 1 1. Starter Create the following Excel spreadsheet and complete the calculations using formulae: 2 Add A1 and B1 A2 minus B2 A3 times B3.
How CGI and Java Servlets are Run By David Stein 14 November 2006.
Scripting.
Scripting Languages Info derived largely from Programming Language Pragmatics, by Michael Scott.
JavaScript: A short introduction Joseph Lee Created by Joseph Lee.
Chapter Four Common facilities of procedural languages.
CPSC 233 Tutorial January 21 st /22 nd, Linux Commands.
2008 Bangkok, Thailand Scripting Tools, languages and the Shell intERLab at AIT Network Management Workshop March – Bangkok, Thailand.
An Introduction To Tcl Scripting John Ousterhout Sun Microsystems Laboratories Tcl/Tk Tutorial, Part II.
Perl & TCL Vijay Subramanian, Modified from : perl_basics_06.ppt.
Hello Educational presentation.
CST 1101 Problem Solving Using Computers
Agenda Introduction Computer Programs Python Variables Assignment
Reading from a file and Writing to a file
Scripting Languages Info derived largely from Programming Language Pragmatics, by Michael Scott.
Reading from a file A file is typically stored on your computers hard drive. In the simplest case, lets just assume it is text. For a program to use.
MATLAB Basics Nafees Ahmed Asstt. Professor, EE Deptt DIT, DehraDun.
Section 64 – Manipulating Data Using Methods – Java Swing
User Interface Design Notes are from: Wilson, Software Design and Development The Preliminary Course. Cambridge Press. pp and Fowler,
Henning Schulzrinne Advanced Programming
1 Python Lab #1 Intro to Python Adriane Huber Debbie Bartlett.
Week 1 Computer Programming Year 9 – Unit 9.04
Text I/O.
Tonga Institute of Higher Education
Chapter 1 Introduction.
LING 408/508: Computational Techniques for Linguists
Introductory Java Programming
Event loops.
F II 2. Simple Java Programs Objectives
Presentation transcript:

 Stands for Tool Command Language  Used for rapid prototyping, GUIs, and scripted applications  Created by John Ousterhout in 1988 out of frustration  Currently 500,000+ active developers of Tcl

 All data types can be manipulated as strings  All operations are commands  Was designed to interface with the C language, but also interfaces with C++, Java, and other languages now  “Safe Tcl” developed for using within messages

 Logon to RUCS.  At the prompt, enter tclsh.  You can then enter commands and run a Tcl script!

TCL: set out [open file.txt a] Java: PrintWriter out = new PrintWriter(new FileOutputStream("file.txt",true)) ;

TCL: set numbers [expr 1+2] set text “hello” puts “$numbers” puts “$text” Java: int numbers = 1+2; string text = “hello”; System.out.println(numbers); System.out.println(text);

  n-Development/Tcl-Programming- Language-20-Things-You-Dont-Know n-Development/Tcl-Programming- Language-20-Things-You-Dont-Know