reference / maths
dist
The distance between two points.
print (dist 0 0 30 40)print (dist { 0, 0 } { 3, 4 })It prints
50 5
How to write it
dist x1 y1 x2 y2
Gives a number.
dist a b
Gives a number.
reference / maths
distThe distance between two points.
print (dist 0 0 30 40)print (dist { 0, 0 } { 3, 4 })It prints
50 5
dist x1 y1 x2 y2
Gives a number.
dist a b
Gives a number.