[OpenSCAD] Unaccountable warning

Torsten Paul Torsten.Paul at gmx.de
Fri May 10 14:56:30 EDT 2019

On 10.05.19 20:08, Ronaldo Persiano wrote:
> Line 2 is the line of the "for". Without the assert(), > no message is issued.

The message is correct. It's caused by the "," after the assert().

Moving the assert into the assignment of i it should work without

     function foo() =
       [for( i = 0;
             i < 1;
             i = assert(i<1) i+1 ) i];


More information about the Discuss mailing list