![]() Tcl was designed to make it easy to drop into a lower language when you come across tasks that make more sense at a lower level. For the Tcl scripts, ease of learning, ease of programming and ease of integrating are more important than performance or facilities for complex data structures and algorithms. One for manipulating complex internal data structures, or where performance is key, and another, such as Tcl, for writing small scripts that tie together the c programming pieces and provide hooks for others to extend. Tcl was designed with the philosophy that one should actually use two or more languages when designing large software systems. The common Tcl language framework makes it easier for applications to communicate. Extensions to Tcl provide mechanisms for communicating between applications by sending Tcl commands back and forth.By using Tcl, applications do not need to re-implement these features. Tcl provides many utility commands plus a general programming interface for building up complex command procedures. All a Tcl application needs to do is to implement a few application-specific low-level commands. ![]() ![]() After you learn Tcl, you are able to issue commands easily to any Tcl-based application. Procedures, looping commands, and conditional commands all work in this way.Īn application program gains several advantages by using Tcl for its command language. In many cases commands will invoke recursive invocations of the Tcl interpreter by passing in additional strings to execute. For commands implemented by the application, Tcl calls back to the application to execute the commands. When the Tcl library receives commands it parses them into component fields and executes built-in commands directly. Commands may be generated by reading characters from an input source, or by associating command strings with elements of the application's user interface, such as menu entries, buttons, or keystrokes. The application program generates Tcl commands and passes them to the Tcl parser for execution. The Tcl library consists of a parser for the Tcl language, routines to implement the Tcl built-in functions, and procedures that allow each application to extend Tcl with additional commands specific to that application. Tcl is also a library package that can be embedded in application programs. Tcl users can write command procedures to provide more powerful commands than those in the built-in set. Tcl has a simple syntax and is programmable. Tcl is a simple textual language that is intended primarily for issuing commands to interactive programs, such as text editors, debuggers, illustrators, and shells. Tcl, current release version 7.5, stands for Tool Command Language. John Ousterhout from the University of California, Berkeley, California. Allow access to the Oracle message file system for NLS support.Provide information on the nature of the job or event, and any input or output.Can be used to drive the user interface.A syntax for describing job and event scripts that:.Communication with the Oracle Intelligent Agent and other Oracle software, such as Oracle Trace.SNMP accessing, both for the database MIB variables that the Agent itself supports, and for external MIBs, like the host's or other SNMP-enabled services.SQL and PL/SQL functions for accessing the RDBMS.Host system access for handling with files and devices, launching programs, and executing operating system functions.Tcl is used for the scripts because it fulfills the necessary requirements, such as: The Tcl Language with OraTcl extensions is used to write the job and events scripts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |