[OpenSCAD] "lookup" with strings? a bug?

nop head nop.head at gmail.com
Wed May 29 13:10:10 EDT 2019

Lookup is for numerical interpolation. You need search for strings,

On Wed, 29 May 2019 at 17:34, Serge <moneyforidea at gmail.com> wrote:

> Is lookup function searches for keys which are strings? say
> <b> lookup("foo",myArray)? </b>
> I get  undef back. Is this a bug?
> what's the good Strings functions library for OpenScad?
> _______________________________________________
> OpenSCAD mailing list
> Discuss at lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20190529/a227aea9/attachment.html>

More information about the Discuss mailing list