Author Topic: Unindentified Names  (Read 2373 times)

0 Members and 1 Guest are viewing this topic.

Peter

  • Guest
Unindentified Names
« on: May 23, 2016, 11:02:53 PM »
Hi Charles,

there's a bug in the latest oxygen.dll
older dll, date  o3.18.2o15  works.

Code: [Select]
include "asm.inc"
window 1024,800,1

single c, pc, clr, p, cm, x, y
for p=1 to 9600 step 0.1
    pc +=1
    c  +=0.01
    cm = c/2.6
    x  = cos(rad(p)) * (cm/c)*c
    y  = sin(rad(p)) * (cm/c)*c
    color clr+12, clr-pc, clr+pc
    fillcircle x+1024/2, y+800/2, 20
    color clr+1, clr-pc, clr+pc
    fillcircle x+1024/2, y+800/2, 20
    clr +=1
    if clr > 20 then clr=1
next
waitkey
winEnd

.
« Last Edit: May 24, 2016, 02:29:26 PM by Peter »

Charles Pegge

  • Guest
Re: Unindentified Names
« Reply #1 on: May 25, 2016, 02:06:59 AM »
Hi Peter,

This one should fix the step problem:



.

Peter

  • Guest
Re: Unindentified Names
« Reply #2 on: May 25, 2016, 08:50:54 AM »
Thank you Charles for your work.

it works now!
are you not tired over it because the devil is doing so many mistakes in your total art work?  :o

Charles Pegge

  • Guest
Re: Unindentified Names
« Reply #3 on: May 26, 2016, 02:39:13 AM »

It certainly requires considerable patience. The bugs are interesting, and worthy of entomological study :) but time is limited.

In this case, the bug arose from changes to improve the performance of for .. next loops. the start, end and step values are now precalculated before entering the loop.