11.07.2015 Views

PICBASIC PLUS LITE Manual - Profe Saul

PICBASIC PLUS LITE Manual - Profe Saul

PICBASIC PLUS LITE Manual - Profe Saul

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>PICBASIC</strong> <strong>PLUS</strong> Compiler5.54. RANDOMSyntax :Overview :Operators :Variable = RANDOMGenerate a pseudo-randomisation on Variable. Variable should be a16-bit variable.Variable is used both as the seed and to store the result. Thepseudo-random algorithm used has a working length of 1 to 65535(only zero is not produced).Example : Var = RANDOM ‘ Get a random number into Var104Copyright Crownhill 2001

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!