MAGNITUDE (Function)


Obtains the vector size.


MAGNITUDE (<Vector type>)


This statement obtains the vector size of a vector type coordinate value.



DEFSNG lf1, lf2
DIM lv1 As Vector
lf1 = MAGNITUDE((10, 10, 10))
'Assigns the size of vector (10, 10, 10) to lf1.
lf2 = MAGNITUDE(lv1)
'Assigns the size of vector lv1 to lf2.


Top