Re: [newbie] text based alignment

From: Peter d (death_comes_to_all@hotmail.com)
Date: 06/26/02


>Now, I am not much of a C programmer, but I believe you have confused the
>assignment operator (a single equals sign) with the equality operator (two
>equals signs).  For example, the test:
>
>if (GET_ALIGNMENT(ch) >= 750 && !IS_NPC(ch))
>        align == "Saintly";
>
>Should be
>
>if (GET_ALIGNMENT(ch) >= 750 && !IS_NPC(ch))
>        align = "Saintly";
>
>Ken
>

hmm.. that didn't work either.. i still get declaration terminated
incorrectly.. thanx for the help though
but i don't understand, i have written code like this before, but i don't
get these kind of errors..

i just tried to move it into the score function directly, and now the error
lvalue required..
what should i do?

_________________________________________________________________
Chatta med kompisar online, prova MSN Messenger: http://messenger.msn.com

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT