Home » Recent acquisitions » Acorn ADFS disks » adfs_ArchimedesWorld_199403.adf » Disk1Mar94 » !AWMar94/Goodies/Basic/ThickLines/NoEntry » Compare
Compare !AWMar94/Goodies/Basic/ThickLines/NoEntry with !AWMar94/Goodies/Basic/ThickLines/Random
| File: | Recent acquisitions » Acorn ADFS disks » adfs_ArchimedesWorld_199403.adf » Disk1Mar94 » !AWMar94/Goodies/Basic/ThickLines/NoEntry |
| Compared with: | Archimedes archive » Archimedes World » AW-1994-03-Disc1.adf » Disk1Mar94 » !AWMar94/Goodies/Basic/ThickLines/Random |
| Similarity: | 75% of bytes duplicated |
23 of 30 lines (79.3%) are identical in the two listings. Duplicated Different
Line numbers are ignored when comparing lines, so that renumbered programs still match.
| !AWMar94/Goodies/Basic/ThickLines/NoEntry | !AWMar94/Goodies/Basic/ThickLines/Random |
|---|---|
| 1 | 1 |
| 2 | |
| 2LIBRARY "PathLib:OS_units.Paths" | 3LIBRARY "PathLib:OS_units.Paths" |
| 3LIBRARY "PathLib:OS_units.Styles" | 4LIBRARY "PathLib:OS_units.Styles" |
| 4 | 5 |
| 5MODE MODE | 6MODE MODE |
| 6 | 7 |
| 7 sign%=FNCreate_NoEntrySign(0,0,200) | 8 sign%=FNCreate_NoEntrySign(0,0,200) |
| 8style%=FNPath_CreateLineStyle(16) | 9style%=FNPath_CreateLineStyle(2) |
| 9 | 10REPEAT |
| 10 ORIGIN 640,512 | 11 PROCPath_LineThickness(RND(64)) |
| 11 PROCPath_SmoothDrawWithStyle(sign%,1,style%,0) | 12 ORIGIN RND(1280),RND(1024) |
| 12 | 13 PROCPath_SmoothDrawWithStyle(sign%,RND(7),style%,0) |
| 14 UNTIL FALSE | |
| 13END | 15END |
| 14 | 16 |
| 15DEF FNCreate_NoEntrySign(x%,y%,radius%) | 17DEF FNCreate_NoEntrySign(x%,y%,radius%) |
| 16 LOCAL NoEntry% | 18 LOCAL NoEntry% |
| 17 PROCPath_ObjectBegin(NoEntry%,200) | 19 PROCPath_ObjectBegin(NoEntry%,200) |
| 18 REM First create sub-path circle | 20 REM First create sub-path circle |
| 19 PROCPath_Circle(x%,y%,radius%) | 21 PROCPath_Circle(x%,y%,radius%) |
| 20 REM Then create sub-path line | 22 REM Then create sub-path line |
| 21 PROCPath_Move(x%-radius%/SQR2,y%-radius%/SQR2) | 23 PROCPath_Move(x%-radius%/SQR2,y%-radius%/SQR2) |
| 22 PROCPath_Draw(x%+radius%/SQR2,y%+radius%/SQR2) | 24 PROCPath_Draw(x%+radius%/SQR2,y%+radius%/SQR2) |
| 23 PROCPath_ObjectEnd | 25 PROCPath_ObjectEnd |
| 24=NoEntry% | 26=NoEntry% |
| 25 | 27 |
| 26 | 28 |
| 27 | 29 |
| 28 | 30 |
.