Skip to content

Latest commit

 

History

History
48 lines (38 loc) · 729 Bytes

File metadata and controls

48 lines (38 loc) · 729 Bytes

AngleVar

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 variables rather than angles.

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

Examples

VectorScript

procedure test;
var
S : Real;

begin
AngleVar;
S := 30;
LineTo(3", #S);
{ The 'S' will be treated as a variable }
{ and line will be drawn on 30 degree angle. }

end;
run(test);

Python

AngleVar;
vs.AngleVar()

Version

Availability: from All Versions

Category