Skip to content

Latest commit

 

History

History
51 lines (41 loc) · 840 Bytes

File metadata and controls

51 lines (41 loc) · 840 Bytes

NoAngleVar

Description

Sets the angle designation method in VectorScript. When called, VectorScript will treat language symbols which can be interpreted as direction angles (e.g., N, S, NW, SE) as as angles, rather than as variables.

PROCEDURE NoAngleVar;
def vs.NoAngleVar():
    return None

Examples

VectorScript

procedure test;
var
S : Real;

begin
NoAngleVar;
S := 30;
LineTo(3", #S);
{ The 'S' will be treated as the direction 'South'  }
{ and line will be drawn on 270 degree angle. }

end;
run(test);

Python

vs.NoAngleVar()
NoAngleVar;
import vs

# Sets the angle designation method in VectorScript.
vs.NoAngleVar()

Version

Availability: from All Versions

Category