|
[Date Index]
[Thread Index]
[Author Index]
Re: Question about DayOfWeek
- To: mathgroup at smc.vnet.net
- Subject: [mg126213] Re: Question about DayOfWeek
- From: "djmpark" <djmpark at comcast.net>
- Date: Wed, 25 Apr 2012 00:35:53 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <23951691.70379.1335260878344.JavaMail.root@m06>
Use SameQ, ===, instead of Equal, ==. Mathematica takes them as variables
with undetermined values so they could be Equal.
David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/index.html
From: Kent Holing [mailto:KHO at statoil.com]
DayOfWeek[{1975,1,1}]==Wednesday gives True (as it should), but
DayOfWeek[{1975,1,1}]==Thursday gives Wednesday == Thursday and not False,
as it should? Why is it so?
Prev by Date:
Re: Question about DayOfWeek
Next by Date:
Re: Question about DayOfWeek
Previous by thread:
Re: Question about DayOfWeek
Next by thread:
Re: Question about DayOfWeek
|