discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: [OpenSCAD] Global Variables

LB
L Boyd
Tue, May 17, 2016 10:22 PM

if you define static variables at the outer scope of the main file, you can
use them within modules defined in the main file without passing them as
arguments. This is also true for modules defined within included files.

It is not true for modules defined within run files.


Larry

View this message in context: http://forum.openscad.org/Global-Variables-tp17333p17339.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

if you define static variables at the outer scope of the main file, you can use them within modules defined in the main file without passing them as arguments. This is also true for modules defined within included files. It is not true for modules defined within run files. ----- Larry -- View this message in context: http://forum.openscad.org/Global-Variables-tp17333p17339.html Sent from the OpenSCAD mailing list archive at Nabble.com.