
Chapter 10 Assignment Statements
10-13
LETY (Statement) [Conforms to SLIM]
Function
Assigns a value to the Y axis component of the Vector type/ Position type/
Homogenous transformation type.
Format
LETY {<Vector type variable>|<Position type variable>|<Homogenous
transformation type variable>}= <Y axis component>
Explanation
The statement starts with LETY and the right side of the expression is Y axis
component. By the execution of this assignment, the Y-axis component of
<Vector type variable>, <Position type variable> or <Homogenous
transformation type variable> is changed to the value of <Y-axis component>.
Related Terms
LETP, LETX, LETZ
Example
DEFPOS lp1, lp2
DEFVEC lv1, lv2
LETY lv1 = POSY(lv2) 'Assigns the Y-axis component of lv2 to that of lv1.
LETY lp2 = POSY(lp2) 'Assigns the Y-axis component of lp2 to that of lp1.
Comentarios a estos manuales