Home » Archimedes archive » Archimedes World » AW-1994-03-Disc1.adf » Disk1Mar94 » !AWMar94/Goodies/Basic/Dashes/Dash_3 » Compare

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

File: Archimedes archive » Archimedes World » AW-1994-03-Disc1.adf » Disk1Mar94 » !AWMar94/Goodies/Basic/Dashes/Dash_3
Compared with: Archimedes archive » Archimedes World » AW-1994-03-Disc1.adf » Disk1Mar94 » !AWMar94/Goodies/Basic/Dashes/Dash_4
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_3 !AWMar94/Goodies/Basic/Dashes/Dash_4
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
5 6
6 7
7REM Create a horizontal line 8REM Create a horizontal line
8 line%=FNPath_CreateHorizontalLine(0,0,1000) 9 line%=FNPath_CreateHorizontalLine(0,0,1000)
9 10
10 11
11
12
13
14REM Draw a "Guide" line 12REM Draw a "Guide" line
15 MODE MODE 13 MODE MODE
16 PRINT "Varying the length of the stroke, but not the gap" 14 PRINT "Dot dash pattern"
17 GCOL 1 : LINE 0,600,1000,600 :GCOL 7 15 GCOL 1 : LINE 0,600,1000,600 :GCOL 7
18 16
19 FOR n%=1 TO 5 17 FOR n%=1 TO 5
20 REM Create dash pattern 18 REM Create dash pattern
21 dash%=FNPath_DashPattern(50*n%,50) 19 dash%=FNPath_DotDashPattern(10*n%)
22 ORIGIN 0,500-n%*40 20 ORIGIN 0,500-n%*40
23 SYS "Draw_Stroke",line%,,,,,,dash% 21 SYS "Draw_Stroke",line%,,,,,,dash%
24 VDU 5 : MOVE 1010,8 : PRINT ;"Stroke = ";n%;" times gap" 22 VDU 5 : MOVE 1010,8 : PRINT ;"length = ";n%*40
25 NEXT 23 NEXT
26 24
27END 25END