Re: Help...

From: Patrick Dughi (dughi@imaxx.net)
Date: 02/03/00


> How to use (ch) and (vict) to comm.c (to get them working) what external
> structs/int's to add?
>
        I know there's a bit of a language barrier here, but that aside,
it looks like you're asking how to use certain common variable names, ch
and vict, as global variables?  They are not actually global variables,
and I strongly recommend against using them as such.

        If you're writing a new function, just declare (within your
function) something along the lines of

        struct char_data *ch;
                or
        struct char_data *vict;

        You might want to pick up a book on programming though, before you
go any further.
                                                        PjD


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



This archive was generated by hypermail 2b30 : 04/10/01 PDT