length()
Purpose
Find the length of a vector
Description
Calulates the length of a vector in 1,2,3 or 4 dimensions
Syntax
result = length( vector )
Arguments
result length of the specified vector
vector vector to find the length of
Example
print( length( { 3 } ) ) // prints 3
print( length( { 3, 4 } ) ) // prints 5
print( length( { 3, 4, 5 } ) ) // prints 7.071068
print( length( { 3, 4, 5, 6 } ) ) // prints 9.273619
update()
sleep( 3 )
Associated Commands