Re: Flex, loops, and calculations

From: Bill Spight (bspight_at_pacXbell.net)
Date: 05/26/04


Date: Wed, 26 May 2004 07:18:49 GMT

Dear Harry,

> I'm trying to do some calculations in a loop, like:
>
> while player`s health is greater than 0 and Enemy`s health is greater
> than 0
> do
> Round is Round + 1

Suppose that Round = 0. Then what

    Round is Round + 1

says is that

    0 = 0 + 1

which is false.

In Prolog you need to say something like

    Round1 is Round0 + 1

Hope that helps. :-)

Best wishes,

Bill



Relevant Pages

  • Re: RSA Challenges
    ... round Norbert's front. ... Her risk was bad, burning, and fishs let alone the sector. ... flood warms in connection with their health. ...
    (sci.crypt)
  • Re: Goodbye!
    ... >>Charles, Om, Cohen, Steve, JMW, Queenie (you brittle bit... ... >>mind), Dally, Hanson, anyone else, a round to MFW's continued good ...
    (misc.fitness.weights)
  • Re: Goodbye!
    ... >mind), Dally, Hanson, anyone else, a round to MFW's continued good ...
    (misc.fitness.weights)
  • Re: Whoops! Noreen 1910.08
    ... was a bit shook up. ... though her family were able to take her round the grounds in a wheelchair. ... good health and for her to get home where she belongs :-) ...
    (uk.people.silversurfers)
  • Healthcare Bill Seeks to Preempt State Laws
    ... Healthcare Bill Seeks to Preempt State Laws ... That's when we get something like the Health Insurance Marketplace ...
    (soc.retirement)