View Single Post
  #1 (permalink)  
Old 02-12-2008, 02:45 AM
Ronald Raygun Ronald Raygun is offline
Member
 
Join Date: Sep 2007
Posts: 68
Ronald Raygun is on a distinguished road
Random Generator

Does anyone know how I can set a random variable?

I'm trying to simulate a coin toss, so if variable = true, then buy, and if variable = false, then sell.

I would imagine MathSrand and MathRand is used, but how?
Reply With Quote