Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #9789 > unrolled thread
| Started by | "djmpark" <djmpark@comcast.net> |
|---|---|
| First post | 2012-04-25 04:38 +0000 |
| Last post | 2012-04-25 04:38 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Question about DayOfWeek "djmpark" <djmpark@comcast.net> - 2012-04-25 04:38 +0000
| From | "djmpark" <djmpark@comcast.net> |
|---|---|
| Date | 2012-04-25 04:38 +0000 |
| Subject | Re: Question about DayOfWeek |
| Message-ID | <jn7v53$6fj$1@smc.vnet.net> |
Use SameQ, ===, instead of Equal, ==. Mathematica takes them as variables
with undetermined values so they could be Equal.
David Park
djmpark@comcast.net
http://home.comcast.net/~djmpark/index.html
From: Kent Holing [mailto:KHO@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?
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web