Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: kwelna; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    8,082

    Random seed

    Duh!!! So simple I never would have thought of it.........well maybe in a week or two.... I am alwqys looking for a more complicated method. that is what happens when you get old!

    Thanks...
  2. Replies
    10
    Views
    8,082

    Random number seed

    Actually the if statements work fine, but I like adding the "Else" statements and "EndIf"s to clean up the code (Thank you Sazer). and comments to clarify the logic behind my code. My real issue is...
  3. Replies
    10
    Views
    8,082

    Random number seed

    Thank you for all our help on my last post. It all really helped. To be honest, I finially just looked at the generated number and then based on its value fired off one of 5 sub routines. Here is...
  4. Replies
    9
    Views
    9,218

    random numbers

    Oooh now I get it and the useage of the // function. OK so in essence, it always rounds down.....way easier. Sorry to be so thick
  5. Replies
    9
    Views
    9,218

    random numbers

    It is about 20 pages long. basically it lists the functions available in pic basic and a single line about syntax. in my case it is the "Let" function. So

    Here is the only reference to division:...
  6. Replies
    9
    Views
    9,218

    radom number

    Nothing about floating point numbers. My version of pic basic is from when I purchased it in 2002 to make a specialized timer for a friend. I have not used it since if that helps. The manual is...
  7. Replies
    9
    Views
    9,218

    Random number

    no I am using pic basic, not the pro. I do have the manual, I assume thisis ususing the "//" remianer function? I am not sure how this functions.....
  8. Replies
    9
    Views
    9,218

    Working with the random number generator

    Newbe here,
    I am working on a project where I can randomly light one of 5 LED attached to portb. PicBasic has a random number generator that will write a random number between 1 and aprox 65K to a...
Results 1 to 8 of 8