On 22/06/20 01:17, Otared Kavian wrote:
for j = -1 step 1 until 1 :
MyPens[j] := pencircle scaled 2pt ; % I would like to say here
(2+j) pt
endfor
MyPens[j] := pencircle scaled (2+j)*pt ;
pt is just a variable, and one can write 2pt implicitly implying the
multiplication, but must explicitly write (2+j)*pt to parse correctly.
Alan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________