Re: The GZG Digest V1 #91
From: DracSpy@a...
Date: Tue, 12 Jan 1999 15:54:31 EST
Subject: Re: The GZG Digest V1 #91
In a message dated 99-01-12 11:21:27 EST, you write:
<< randomize timer
a = 0
while (a < 4000)
b=int(rnd*6)+1
if b=4 or b=5 then c=c+1
if b=6 then begin
c=c+2
a=a-1
end
next a
print c
(this way when you roll a 6, then you get to roll another die... per
FTFB
rules.)
chuck >>
Chuck I took care of the reroll probem, an you need the a=a-1 line to
read:
a=a+1, other wise it will be loop that never ends.
If it is stupid but it works it is not stupid - one of Murphy's Laws
-Stephen, trying to learn C++