Training, Open Source computer languages

PerlPHPPythonMySQLhttpd / TomcatTclRubyJavaC and C++LinuxCSS

Search our site for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
AgtInvoke - a command to drive Agilent Tcl software extensions
In Tcl, there's a lot of commands available already - and there would be a lot more if separate commands were provided for each operation you might wish to perform. So some of the commands that are provided are really megacommands that wrap a whole lot of others up in a single group.

Let's take string handling as an example. There are scan and format and append commands available, and there's what I'll call a megacommand called string which takes a second parameter calling up a particular subcommand - something like string match or string length or string trim. Other megacommands include info and file and clock.

Tcl is a library to be built with other proprietory code, and sometimes that other code can be included as additional Tcl commands. I'm running a Tcl course this week, for a customer who's using a Tcl that's been built by Agilent for use with some of their equipment ... and the sample code Dave has with him includes lots of calls to AgtInvoke.

Now I've never come across AgtInvoke before, but looking at the syntax of the code, it's very clearly a sommand with at least one level of subcommand - and this drives the whole Agilent-specific end of the code. It's a very neat way of doing things. Of course, I'm not able - as a generalist - to be able so say exactly what each AgtInvoke does - but I can (and have) guided my customer through the details of the Syntax calls to at, and shown him how - very neatly - the Agilent folks have extended Tcl by adding just the one extra command.
(written 2007-07-26 01:31:46)

 
Associated topics are indexed under
T214 - Tcl/Tk - Other Facilities in Tcl

Back to
On flooding in Wiltshire and elsewhere in the West of England
Previous and next
or
Horse's mouth home
Forward to
West Wilts Show

Some other Articles
Latercomer to the technology
West Wilts - no longer Wet Wilts - show
The Gdansk fireball
West Wilts Show
AgtInvoke - a command to drive Agilent Tcl software extensions
On flooding in Wiltshire and elsewhere in the West of England
Incident in Melksham
Radio coverage for railway issues
Melksham or Weymouth? Meal or day out?
Behind closed doors?
1636 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

© WELL HOUSE CONSULTANTS LTD., 2008: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho