Re: [ARENA] Arena Help: parsebet call? whats this?

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 08/07/97


On Thu, 7 Aug 1997, Stephen Arnold wrote:

>newbet = parsebet (bet_pot, buf1);
>
>        What exactly is parsebet? Its not loacted anywhere else on the MUD
>and I am not sure what its intended purpose is.. Anyone have any ideas
>what this is supposed to be doing?

It's a function that lets you type "50k" and have it parsed to 50000.  50M
= 50000000 and 50 = 50.  Nevermind, that's adv_atoi()...I don't remember
what parsebet() does, it probably takes the value of buf1 and changes it to
your bet and then adds it to the bet_pot which shouldn't work because it's
not passed by reference.

Hmm...I'll go look at it and get back to you.

--
greerga@muohio.edu me@null.net | Genius may have its limitations, but stupidity
http://www.muohio.edu/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | 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/08/00 PST