Random…. More like a scripted Sequence !!!


Results 1 to 11 of 11

Threaded View

  1. #1
    Join Date
    May 2012
    Location
    Merseyside, UK
    Posts
    237

    Default Random…. More like a scripted Sequence !!!

    Hi all thank you for reading..

    MyWord var Word
    MyByte var Byte

    Random MyWord
    MyByte=(MyWord//6)+1
    Using the above basis I have created what I thought to be a "Dice" type program to give me a "random" number between 1 and 6… however I have just found the resulting output is scripted (Not Random). Has anyone else discovered this random bug, or is it just me…. ???
    Last edited by andybarrett1; - 24th October 2014 at 22:48. Reason: Typo

Similar Threads

  1. Replies: 13
    Last Post: - 5th September 2010, 01:55
  2. How to set sequence of interrupt for PIC
    By chai98a in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 21st June 2008, 11:17
  3. FOR sequence is skipped
    By selbstdual in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 10th August 2006, 02:35
  4. Installation sequence
    By Demon in forum General
    Replies: 23
    Last Post: - 11th July 2006, 03:56
  5. Switch Sequence
    By Tissy in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 13th February 2005, 20:36

Members who have read this thread : 0

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

Tags for this Thread

Posting Permissions

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