From: Stef (steletch_at_free.fr)
Date: Thu Mar 03 2005 - 10:13:28 CST

Le jeudi 03 mars 2005 à 09:52 -0600, John Stone a écrit :
> The syntax you use when specifying
> the optional parameter to Tcl is _without_ the brackets, as they have
> special meaning in Tcl (evluate command). e.g.:
>
> graphics top text {0 0 0} "Test" size 24
>
> Here's an example of how you would use the brackets in Tcl:
>
> set x 0
> set y 0
> set z 0
> set s 10
> set i 2048
> graphics top text [list $x $y $z] "$i" size $s
>
> John

The problem seems not to come from taking brackets into account or not
(i tried many combinations before reposting), but from the keyword
'top'.

If i omit it :
graphics text {0 0 0} "Test" size 24
instead of :
graphics top text {0 0 0} "Test" size 24

I get the error :
expected integer but got "text"

But still my goal was to produce sub-trajectories out of a bigger one
based on distances/angles/dihedrals criterias, Eduard Schreiner gave me
important steps but it if a different goal, out of my primary purpose.

Any hint ?

Stéphane Teletchéa

-- 
http://www.steletch.org
Fingerprint: 1E83 26EE A2F1 87E5 5865 4DBF F2B4 9083 F44C AE88
GPG key @ http://www.steletch.org/article.php3?id_article=13
Mandrakelinux release 10.1 (Official) @ http://www.mandrakesoft.com/
17:10:01 up 26 min, 1 user, load average: 0.46, 0.43, 0.40