Hi, Charles,
Could it be that there is a bug in your last OxygenBasic Dll !
include "sw.inc"
Window 320,240,1
SetText 0, 0, GetWidth() /2, 0
SetText 0,20, GetHeight()/2, 0
SetText 0,40, GetWidth() *2, 0
SetText 0,60, GetHeight()*2, 0
SetText 0, 80, GetWidth() -20, 0
SetText 0,100, GetHeight()-20, 0
SetText 0,120, GetWidth() +20, 0
SetText 0,140, GetHeight()+20, 0
WaitKey
Quit
Sirpinsky:
indexbase 0
include "sw.inc"
Window 256,256,1
SetFont 12,24,bold,"courier"
SetCaption "Sirpinsky shake"
int numSteps=10000
float ax = 10, cy = 10
float ay = 256 - 10
float bx = 256 - 10
float by = 256 - 10
float cx = 256 / 2
float px = ax, py = ay
While Key(27)=0
Cls RGB 12,230,40
For n=0 To numSteps
DrawPoint px, py, 2, 2, RGB 0,0,255
Select Case Rnd(0,2)
Case 0
px = (px + ax) / 2
py = (py + ay) / 2
Case 1
px = (px + bx) / 2
py = (py + by) / 2
Case 2
px = (px + cx) / 2
py = (py + cy) / 2
End Select
Next
Sync
Wait 45
Wend
Quit
X