0 Members and 1 Guest are viewing this topic.
.FloodFill.PROGRAM START, CALLS FLOOD FILL ON CORDS 48,32DiagnosticOffFullClrDraw^rrFLOODFILL(48,32)DispGraphText(0,0,"Over"Repeat getKeyEndReturnLbl FLOODFILLr1->Xr2->Y0->D+1->ZPxl-On(X,Y)Pxl-On(X,Y)^rRepeat getKey(1)If HIT(Z)TURN()->Z!If ZJUMP()!If ZReturnEnd EndEndMOVEX()->XMOVEY()->YD+1^1024-D!If DDispGraphEndEndReturnLbl JUMPFor(F,0,95)For(G,0,63)If pal-Test(F,G)^rF->XG->YTURN()->Zif ZReturnEndEndEndEnd0->ZReturnLbl TURNFor(T,1,4!If HIT(T)TReturnEndEnd0ReturnLbl HIWMOVEX(r1)->IMOVEY(r1)->JIf pxl-Test(I,J)??I<0??I>95??J<0??J>631ReturnEnd0ReturnLbl MOVEXIf r1=1x+1ReturnElseIf r1=3X-1ReturnEndxReturnLbl MOVEYif r1=2Y-1ReturnElseIf r1=4Y+1ReturnEndYReturn