Home » Recent acquisitions » Acorn ADFS disks » adfs_ArchimedesWorld_199403.adf » Disk1Mar94 » !AWMar94/Goodies/Basic/Dashes/Dash_4 » Compare

Compare !AWMar94/Goodies/Basic/Dashes/Dash_4 with !AWMar94/Goodies/Basic/Dashes/Dash_3

File: Recent acquisitions » Acorn ADFS disks » adfs_ArchimedesWorld_199403.adf » Disk1Mar94 » !AWMar94/Goodies/Basic/Dashes/Dash_4
Compared with: Archimedes archive » Archimedes World » AW-1994-03-Disc1.adf » Disk1Mar94 » !AWMar94/Goodies/Basic/Dashes/Dash_3
Similarity: 67% of bytes duplicated

21 of 27 lines (80.8%) are identical in the two listings. Duplicated Different

Line numbers are ignored when comparing lines, so that renumbered programs still match.

!AWMar94/Goodies/Basic/Dashes/Dash_4 !AWMar94/Goodies/Basic/Dashes/Dash_3
1 1
2
3LIBRARY "PathLib:OS_units.Paths" 2LIBRARY "PathLib:OS_units.Paths"
4LIBRARY "PathLib:OS_units.Styles" 3LIBRARY "PathLib:OS_units.Styles"
5 4
6 5
7 6
8REM Create a horizontal line 7REM Create a horizontal line
9 line%=FNPath_CreateHorizontalLine(0,0,1000) 8 line%=FNPath_CreateHorizontalLine(0,0,1000)
10 9
11 10
11
12
13
12REM Draw a "Guide" line 14REM Draw a "Guide" line
13 MODE MODE 15 MODE MODE
14 PRINT "Dot dash pattern" 16 PRINT "Varying the length of the stroke, but not the gap"
15 GCOL 1 : LINE 0,600,1000,600 :GCOL 7 17 GCOL 1 : LINE 0,600,1000,600 :GCOL 7
16 18
17 FOR n%=1 TO 5 19 FOR n%=1 TO 5
18 REM Create dash pattern 20 REM Create dash pattern
19 dash%=FNPath_DotDashPattern(10*n%) 21 dash%=FNPath_DashPattern(50*n%,50)
20 ORIGIN 0,500-n%*40 22 ORIGIN 0,500-n%*40
21 SYS "Draw_Stroke",line%,,,,,,dash% 23 SYS "Draw_Stroke",line%,,,,,,dash%
22 VDU 5 : MOVE 1010,8 : PRINT ;"length = ";n%*40 24 VDU 5 : MOVE 1010,8 : PRINT ;"Stroke = ";n%;" times gap"
23 NEXT 25 NEXT
24 26
25END 27END