invalid command name
- From: shady.abdelwahed@xxxxxxxxx
- Date: Sun, 4 May 2008 07:21:36 -0700 (PDT)
Hi All,
I have followed the example in the this link:
http://www.flightlab.com/~joe/gutter/doc/tcllib-1.8/interpolate.html
the script is as follows:
package require Tcl
package require struct
package require math::interpolate
set coeffs [::math::interpolate::prepare_cubic_splines {0.1 0.3 0.4
0.8 1.0} {1.0 2.1 2.2 4.11 4.12}]
foreach x {0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0} {
puts "$x: [::math::interpolate::interp_cubic_splines $coeffs
$x]"
}
but when i try to run it, i receive an error message that
the ::math::interpolate::prepare_cubic_splines and
the ::math::interpolate::interp_cubic_splines are invalid command
names.
why does that happen?
.
- Follow-Ups:
- Re: invalid command name
- From: Gerald W. Lester
- Re: invalid command name
- Prev by Date: Re: Who maintains Tclhttpd?
- Next by Date: LSrPGZAppkyhJjjgI
- Previous by thread: Reading images on Excel worksheets with TCOM
- Next by thread: Re: invalid command name
- Index(es):
Relevant Pages
|