Re: [Circle] != ==

From: George (greerga@dragon.ham.muohio.edu)
Date: 11/18/96


On Mon, 18 Nov 1996, Bruce, Ray, Phil wrote:

>if (GET_POS(i) != POS_FIGHTING)
>if (GET_POS(i) != POS_MOUNTED)
>  blah blah
>else
>  blip blip

You want to put {}'s in there to tell the compiler what you mean
ie:
if (GET_POS(i) != POS_FIGHTING) {
  if (GET_POS(i) != POS_MOUNTED)	<
    blah				< Together
  else					<
    blah				<
}
or
if (GET_POS(i) != POS_FIGHTING) {
  if (GET_POS(i) != POS_MOUNTED)	< Together
    blah				<
} else
    blah

However you need it.

--
George Greer	Student Systems Co-Administrator of Dragon
greerga@muohio.edu	http://www.ham.muohio.edu/~greerga
--
Genius may have its limitations, but stupidity is not thus
handicapped.                -- Elbert Hubbard



+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST