Quote: "horizontal. -354 to 1117
vertical. -84 to -700"
Correct me if I am too tired to realise, but is the vertical not off screen completely?
Why the negative numbers?
Anyway I wrote some code for you to grasp the range idea, unfortunately RND() only supports '0 to Number' so I subtracted using positive numbers and subtracted the left side from the right and reduced the numbers accordingly...
SET DISPLAY MODE 1920,1080,32 ` Set to your intended resolution
FOR X = 1 TO 1000*1000 ` 1,000,000
horizontal = 354 + RND(763)
vertical = 84 + RND(616)
DOT horizontal, vertical, RGB(RND(255),RND(255),RND(255))
SET TEXT OPAQUE
INK RGB(255,0,0),RGB(255,255,255)
TEXT 30, 30, "Horizontal: " + STR$(horizontal)
TEXT 30, 50, "Vertical: " + STR$(vertical)
TEXT 30, 70, "Total Dots: " + STR$(X)
SYNC
NEXT X
WAIT KEY
END