Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 649 Bytes

File metadata and controls

42 lines (32 loc) · 649 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 ====

Version

Availability: from All Versions

Category

  • Command