discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

feedback: let, echo and assert in expressions

A
adrian
Mon, Nov 21, 2016 11:26 PM

Well, you can use arrays to store your info:

But you need to document what each indexed item means or use 'constants' to
index them.

or

And use getter/setter functions:

You can also use a fake associative array:

And use getter/setter functions:

Note: I've not tested these, but this should give you the general idea.

--
View this message in context: http://forum.openscad.org/feedback-let-echo-and-assert-in-expressions-tp19111p19311.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

Well, you can use arrays to store your info: But you need to document what each indexed item means or use 'constants' to index them. or And use getter/setter functions: You can also use a fake associative array: And use getter/setter functions: Note: I've not tested these, but this should give you the general idea. -- View this message in context: http://forum.openscad.org/feedback-let-echo-and-assert-in-expressions-tp19111p19311.html Sent from the OpenSCAD mailing list archive at Nabble.com.