Checking my work...


    Sep 27 2008 | 8:26 am
    Since I'm new at this, just testing myself a little here. Below is a basic piece of a patch to generate a semi-random number that is between 299-10,000. Just want to be sure that this (or something like it) is, in fact, what needs to be done to accomplish this.
    Many thanks,
    Brian

    • Sep 27 2008 | 8:50 am
      On Sep 27, 2008, at 1:26 AM, Brian Heller wrote:
      > Just want to be sure that this (or something like it) is, in fact,
      > what needs to be done to accomplish this.
      I would approach it more like this:
      Chris Muir
      cbm@well.com
    • Sep 27 2008 | 6:40 pm
      Depends what you want. "Semi-random" can mean a lot of things with different results. You've patched a random walk.
      In the attachment you'll find five different solutions. Three of them require the Litter Starter Pack (free, URI below). *All* of the examples are random and in the specified range. They do not behave identically.
      Which behavior do you want?
      Best -- P.
      (PS to Chris: you need some more coffee--your parameters are a nudge off. Think border values.)
    • Sep 27 2008 | 7:43 pm
      On Sep 27, 2008, at 11:40 AM, Peter Castine wrote:
      > (PS to Chris: you need some more coffee--your parameters are a nudge
      > off. Think border values.)
      I won't argue about whether I need more coffee, I often do, but wasn't
      the requested range 299-10000?
      -C
      Chris Muir
      cbm@well.com