tasks a-s
This commit is contained in:
parent
47bf37c096
commit
b83f433714
12433 changed files with 156208 additions and 123 deletions
|
|
@ -0,0 +1,9 @@
|
|||
set x1 [Err 100 1.1]
|
||||
set x2 [Err 200 2.2]
|
||||
set y1 [Err 50 1.2]
|
||||
set y2 [Err 100 2.3]
|
||||
# Evaluate in a local context to clean up intermediate objects
|
||||
set d [scope {
|
||||
[[[$x1 - $x2] ** 2] + [[$y1 - $y2] ** 2]] ** 0.5
|
||||
}]
|
||||
puts "d = [$d p]"
|
||||
Loading…
Add table
Add a link
Reference in a new issue