View Single Post
Old 12-07-2012, 08:35 PM   PM User | #4
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,201
Thanks: 59
Thanked 3,996 Times in 3,965 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
And I see this chunk of code:
Code:
    ...
    var Dateformat = "mm/dd/yyyy";
    var Initials= "EM";
}
but (a) it's not valid code, because it ends with } but you don't show the matching {
and (b) you never use the variable Initials any place else in the code.

Why create the variable if you don't use it?
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is online now   Reply With Quote