Re: Dynamic names

new topic     » goto parent     » topic index » view thread      » older message » newer message

Jasper Holshuijsen wrote:

> Is it possible to simplify it to something like this:
> 
> if X > 0 then
>      RBI[atbat] = RBI[atbat] + 1
> end if

Urm, yes... it seems simple enough to test, am I missing something here?

If you're feeling especially reckless, you can also write:

   RBI[atbat] += (X > 0)

-- David Cuny

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu