Yes it is normal because it is still in experimental stage ..For example try use undefined variable and you will see...of course i can remove it .In fact this info should be part of let say simple debugger or something.I am glad that work
Here is a example of sierpinski carpet by MGA B+ from ssmall Basicin micro(A):Code: [Select]'Sier Carpet v3.bas SmallBASIC 0.12.2 [B+=MGA] 2016-02-13varnum sq,s,st,start,lc,r,g,b,x,y,rx,ry,w,hsq=480 : s=2 :st=s+2 :start=1 :lc=0wcolor 0,0,0label doloop'rx=1 : ry=1x=1 : rx=x+s while x < sq y=1 : ry=y+s while y < sq r=0:g=lc+128:b=0: fcolor r,g,b ' pset x,y rect x,y,rx,ry y=y+st*1 wend ' swap x=x+st*1 print 10,10,x wend s=2+st st=s*2 lc=lc+1rx=x : ry=yif st < sq goto doloop endif
'Sier Carpet v3.bas SmallBASIC 0.12.2 [B+=MGA] 2016-02-13varnum sq,s,st,start,lc,r,g,b,x,y,rx,ry,w,hsq=480 : s=2 :st=s+2 :start=1 :lc=0wcolor 0,0,0label doloop'rx=1 : ry=1x=1 : rx=x+s while x < sq y=1 : ry=y+s while y < sq r=0:g=lc+128:b=0: fcolor r,g,b ' pset x,y rect x,y,rx,ry y=y+st*1 wend ' swap x=x+st*1 print 10,10,x wend s=2+st st=s*2 lc=lc+1rx=x : ry=yif st < sq goto doloop endif
'Sier Carpet v3.bas SmallBASIC 0.12.2 [B+=MGA] 2016-02-13sq=512s=2stepper=2*sstart=1lc=0label doloop for x=start to sq step stepper for y=start to sq step stepper rect x,y,x+s,y+s,rgb(0,lc*15+128,0) filled next next start=start+s s=2*s stepper=2*stepper lc=lc+1if stepper<=sq then goto dolooppause 'for snapshot
I modify your code because if you don't see I don't have for/loop in microA..also if i replace it with while loop and i get different result ...it would be great if you have version with while loop in smallBasic or qb64..or maybe i cannot because i see now that your rectangle is filled type and mine is not?any suggestion mister MGA ?
Here is finally version of AurelEdit which we can use with micro(A) Interpreter