Next / Previous / Contents / TCC Help System / NM Tech homepage

6.9. parseAngle(): Parse external angle

This function parses an angle in the form described in Section 4.2, “Specifying angles on command lines”.

parseAngle ( s )

Argument s is the string to be parsed. If successful, the function returns the angle in radians. It raises a SyntaxError exception if the format is incorrect.