Re: [NEWBIE-ISH] [DG SCRIPTS]

From: Del Minturn (caminturn@EARTHLINK.NET)
Date: 09/29/98


Phillip A. Ames wrote:
>
> >1. what is ship_num defined as at this point?
> It's an extern int, at the top of the file.
>

Not what it is #define'd as.. but what does
the ship_num = ???



>
> As far as I knew, that _was_ an if statement due to the if above it...
> If there ship number is greater than/equal to 0, they have a ship.  I
> have them stored in a file, similar to clans...
>

I have never seen an if statement do this "if (x = y >= z)". I will bet
if you change that, you will get some better results.
If someone knows that this can be done or show me an application that
does this, I would like to see it or understand what it is actually
trying to compare. seems like your better off doing x = y && x >= z or
x = y && y >= z


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



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