[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: [QUIZ] Dice Roller (#61

Henrik Martensson

1/7/2006 9:32:00 AM

On Fri, 2006-01-06 at 23:45, Robert Retzbach wrote:

> >
> Huhu.
> How do you parse 5d6d7?
> As (5d6)d7 or 5d(6d7) since there is no "Assoziativgesetz" like (AdB)dC
> == Ad(BdC).
> -
> aTdHvAaNnKcSe

With the game systems I know, and I admit I haven't played for a couple
of years, 5d6d7 would not be a legal expression, and would raise an
exception.


/Henrik

--

http://www.henrikmarte... - Reflections on software development





1 Answer

matthew.moss.coder

1/7/2006 9:58:00 PM

0

> With the game systems I know, and I admit I haven't played for a couple
> of years, 5d6d7 would not be a legal expression, and would raise an
> exception.

Ahhh.... this must be a game system you don't know. =)