Simple enough, thanks! On Mon, Oct 06, 2014 at 09:53:56AM +0200, David Baelde wrote: > Hi, > > You have a builtin or but it is the boolean disjunction. The one you > want here is not in the lib, but you can create it for yourself in > your script, or in your own mini library: > > def or(a,b) = > if a != "" then a else b > end > > Have fun, > > David > > On Sat, Oct 4, 2014 at 2:03 AM, Ken Restivo <[email protected]> wrote: > > I found myself writing this and was pretty deeply dissatisfied: > > > > ("artist", if m['ice-name'] != "" > > then > > m['ice-name'] > > else > > m['icy-name'] > > end) > > > > > > I sure wish there were an "or" short-ciruit operator, i.e. > > > > ("artist", or(m['ice-name] m['icy-name'])) > > > > Is there an "or", or something very like it, somewhere and I totally > > missed it in the documentation? > > > > -ken > > > > ------------------------------------------------------------------------------ > > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > > _______________________________________________ > > Savonet-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/savonet-users > > > > -- > David > > ------------------------------------------------------------------------------ > Slashdot TV. Videos for Nerds. Stuff that Matters. > http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk > _______________________________________________ > Savonet-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/savonet-users
------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
