You're using X twice - its defined in your constant at the top, and also in your For/Next loop. That's probably what the problem is.
Random Graphics Drawing Problem
BlitzMax Forums/BlitzMax Programming/Random Graphics Drawing ProblemThe forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.