b3ta.com board
You are not logged in. Login or Signup
Home » Messageboard » XXX » Message 51498 (Thread)

# I always understood it thus:
if(( now > dawn_of_time ) && ( location == UK )) pants = underwear;
(, Sun 14 Apr 2002, 18:35, archived)
# perhaps it needs revising:
if (( now > dawn_of_time ) && ( location == UK ) && ( name <> "Darren Wolfe") pants = underwear
else if (( now > dawn_of_time ) && ( location == UK ) && ( name = "Darren Wolfe") pants.usage.confusion = yes;
(, Sun 14 Apr 2002, 18:42, archived)
# Mr. Pedantic says


You've missed some brackets, and used the BASIC non-equals operator in a C program. I think you really meant:

if(( now > dawn_of_time ) && ( location == UK ))
{
  if( name != "Darren Wolfe" ) pants = underwear; else pants.usage.confusion = yes;
}
(, Sun 14 Apr 2002, 19:03, archived)
# mmm
i thought it was javascript you were writing in :)
I get so confused over programing syntax these days - too may languages around...
asp, vb, delphi, c++, java, javascript, php..
(, Sun 14 Apr 2002, 19:09, archived)
# Heh
I can program in more languages than I can even think of in one go, but not getting confused between them is a knack that you pick up eventually...
(, Sun 14 Apr 2002, 19:13, archived)
# surely you mean
(strcmp(name,"Darren Wolfe")==0)
(, Mon 15 Apr 2002, 1:07, archived)