source: trunk/examples/zoo/integer/integer.tcl @ 115

Last change on this file since 115 was 115, checked in by mmc, 19 years ago

Updated all copyright notices.

File size: 787 bytes
Line 
1# ----------------------------------------------------------------------
2#  EXAMPLE: Rappture <integer> elements
3# ======================================================================
4#  AUTHOR:  Michael McLennan, Purdue University
5#  Copyright (c) 2004-2005  Purdue Research Foundation
6#
7#  See the file "license.terms" for information on usage and
8#  redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
9# ======================================================================
10package require Rappture
11
12# open the XML file containing the run parameters
13set driver [Rappture::library [lindex $argv 0]]
14
15set n [$driver get input.(points).current]
16$driver put output.integer(outn).current $n
17
18# save the updated XML describing the run...
19Rappture::result $driver
20exit 0
Note: See TracBrowser for help on using the repository browser.