View Single Post
  #16  
Old 01-10-2002, 11:21 PM
Xaviar Xaviar is offline
Registered User
Join Date: Aug 2001
Location: Fairyland
Posts: 463
Xaviar is on a distinguished road
Send a message via ICQ to Xaviar Send a message via AIM to Xaviar
Quote:
Originally posted by Faheria_GP2
if (j=4) {
iam***(6);
}

in c++ would always run, because the "=" sets j to 4 and returns true
Right, but not for the right reasons, 'j=4' returns whatever was assigned, so it returns a '4', not a 'TRUE', but I supposed it doesn't really matter, since any nonzero is considered true in a condition
__________________
One by one, the penguins steal my sanity.

*cookie for Xaviar* --Originally posted by Tyhm

--Xaviar

A m e r i c a
Reply With Quote