Asymptote FAQ - Section 3
Questions about paths


Question 3.1. Why do I get a syntax error message when I specify an integer value for the path tension?

What is happening here is that
draw((0,0)..tension 2..(0,50)..(100,100)); 
is read as
draw((0,0)..tension 2. .(0,50)..(100,100)); 
So the first . after the two is treated as a decimal point. Just put a space after the integer tension value:
draw((0,0)..tension 2 ..(0,50)..(100,100)); 

Next: Questions about labels.
Back: Questions about installation and setup.
Return to contents.

Asymptote - 01 November 2006

Extracted from Asymptote Frequently Asked Questions, Copyright © 2006 .