NEWZVALUE This command will return a value that represents the new Z position of a point in 3D space.
Syntax
    Return Float=NEWZVALUE(Current Z Value, Angle Value, Step Value)
Parameters
    Current Z Value
Float This value is a float number such as 0.5
    Angle Value
Float Specify the angle value in degrees between 0 and 360.
    Step Value
Float This value is a float number such as 0.5
Returns
This value is a float number such as 0.5
Description
This command is used in conjunction with NEWXVALUE and NEWYVALUE commands to move from one point in space to another point in space based on a specified angle. Rather than using COS/SIN maths, these commands simplify the task of moving coordinates within 3D space. The step value specifies how far in the specified direction you would like to calculate. The parameters should be specified using real numbers.
Example Code
    X#=320

    Z#=400

    DO

    X#=NEWXVALUE(X#,0,1)

    Z#=NEWYVALUE(Z#,0,1)

    DOT X#,Z#

    LOOP
See also
CORE Commands Menu Index