random generator with a limiter


Closed Thread
Results 1 to 12 of 12

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    I draw an analogy...

    Imagine a real-life Art Class...

    A whole bunch of students sitting around a naked model (insert specis/gender here of whatever turns you on)...

    The Tutor hands out a sheet of paper and crayons to each student, and asks them to draw whatever part piques their interest...

    The students all start to draw, but one unskilled beginner, rather than use the opportunity to hone their artistic skills instead asks the Tutor for a Digicam and a Printer...

    So yes, you all get a result in the end. On the one hand you make the effort, on the other somebody/something else does it for you...

  2. #2
    Join Date
    Feb 2005
    Location
    Toronto, Canada
    Posts
    46


    Did you find this post helpful? Yes | No

    Default

    I'm not going any further because we're never going to get anywhere, by your argument you and I should just go use assembly.
    A better analogy would be that we're both using digital cameras (picbasic, not drawing-assembly) and I'm saying it would be great if it had a zoom lens, and you're saying "you should just walk instead, it's lazy to want a zoom".
    Last edited by kenpo; - 27th April 2007 at 19:29.

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Seems it's easy to crank some people here... Agree or not, Melanie is true. Maybe you take it too serious and as a direct attack. Calm down a little bit and try to read between the lines.

    If i wanted to flash an led 70 000 times... should i think really hard to find a solution knowing that a WORD variable can't hold that value, ask Melabs to create a DWORD sized variable only for me or change to another compiler/language?

    Come on... unfortunately today's people want everything for yesterday without effort... it's worst now with forums... something my parents and myself haven't at school.

    No coincidence why there's so many new compiler, so many microcontroller, so many dedicated ICs. Copy/paste.. yeah it works... i'm the king of the world. %&^%*%& it doesn't work, i will blame others
    Last edited by mister_e; - 27th April 2007 at 23:18.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    Join Date
    Feb 2005
    Location
    Toronto, Canada
    Posts
    46


    Did you find this post helpful? Yes | No

    Default

    I'm not taking it personally and I'm not upset. why is mentioning having control over a function would be nice causing you guys to leap and tell me to shush and go away?

  5. #5
    Join Date
    Apr 2006
    Location
    New Hampshire USA
    Posts
    298


    Did you find this post helpful? Yes | No

    Default I like the idea.

    Hi kenpo,

    Your idea is the “PBP Wish List” category.
    That's what a wish category should be used for!

    Thank you, I like the idea.

    -Adam-
    Ohm it's not just a good idea... it's the LAW !

  6. #6
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    You can wish for whatever you want, hey I'm not stopping you.

    The point I was trying to convey is that in many cases people have already got what they are wishing for, if only they stopped to learn what they've got (or read the manual as Skimask would point out) to realise the fact.

    In post #1 of this thread you wanted a function, and got it in post #2 with a simple math statement. So if it's that easy, why bloat-out the core function with unnescessary code?

    Your camera in this case already has the zoom facility... you've just not discovered how to use it yet. Rather than have an obvious button called Zoom, it's embedded several Menu levels deeper down and needs a better understanding of the camera to discover all it's features.

  7. #7
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Post

    I think I'll stay on neutral grounds with this one. Both Melanie & Kenpo have made some points that I agree with.

    BASIC - Beginners All Purpose Symbolic Instruction Code - as its name suggests is a language primarily directed towards the beginner. However, because of its sheer ease-of-use and RAD nature Rapid-Application-Development, many professionals also continue to use it.

    Traditionally, BASIC has always been a function orientated language. Much like buttons on a calculator, entire complex and length procedures are preserved behind simple syntax. (This is BASIC's strength)

    It also has a very big weakness too. Not such a big deal with say Visual BASIC, because nowadays, you have what seems like an infinite amount of storage at your disposal. But when a lack of a few bytes can put an entire project on ice, you really don't want any protocol that's bloated.<br/>

Similar Threads

  1. Random Numbers
    By BobEdge in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 18th December 2008, 08:47
  2. 6 random numbers limiting to 49 ?????
    By SuB-ZeRo in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 15th June 2005, 23:27
  3. Random number results
    By bartman in forum mel PIC BASIC
    Replies: 3
    Last Post: - 9th March 2005, 17:39
  4. Random function - How to limit it ??
    By martarse in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 30th November 2004, 14:05
  5. more random number questions
    By bartman in forum mel PIC BASIC
    Replies: 1
    Last Post: - 14th November 2004, 17:55

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts