
Chapter 15 Functions
15-39
POSY (Function) [Conforms to SLIM]
Function
Extracts the Y-component.
Format
POSY ({<Position type>|<Vector type>})
Explanation
This statement extracts the Y-component from position type or vector type
coordinates.
Related Terms
POSX, POSZ
Example
DIM lf1 As Single
DIM lp1 As Position
lf1 = POSY(lp1) 'Assigns the Y-component of lp1 to lf1.
6-axis lf1 = POSY(lp1 + (100, 100, 100, 0, 0, 0) )
'Assigns the Y-component of lp1 to lp1 +
'(100, 100, 100, 0, 0, 0).
4-axis lf1 = POSY(lp1 + (100, 100, 100, 0) )
'Assigns the Y-component of lp1 to lp1 +
'(100, 100, 100, 0).
Kommentare zu diesen Handbüchern