Bob wrote: > > if (xxx == undefined) xxx=yyy > > as > > xxx == undefined && (xxxx=yyy) > > same s > > xxx != undefined || (xxxx=yyy)
I'm OK with any solution, but I find this very hard to read -- particularly the last one. If there is no advantage in peformance, I'd rather stick to the original "if" syntax. For the rest, the null vs. undefined sounds reasonable. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers