I think empty string should be accepted as such and not considered
undefined. The user then is saying, "I want no extension -- just call it
"jmolApplet".


2009/11/14 Angel Herráez <[email protected]>

>  On 14 Nov 2009 at 10:05, Robert Hanson wrote:
>
>  > if (nameSuffix == undefined) is correct. That's what you want.
>
>  I thought I had tested that the parameter in a function call is never
> undefined, but I see now it is not the case. The empty string fails
> undefined, of course, so we need
>
>  if (nameSuffix==undefined || nameSuffix==="")
>
>  Right? Who does the change?
>
>
>
>
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>
>


-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to