Home » Personal collection » Acorn hard disk » misc » dcfprogs » Server1/!Icon/!RUN » Compare

Compare Server1/!Icon/!RUN with Server1/!Icon/!RUN2

File: Personal collection » Acorn hard disk » misc » dcfprogs » Server1/!Icon/!RUN
Compared with: Personal collection » Acorn hard disk » misc » dcfprogs » Server1/!Icon/!RUN2
Similarity: 87% of bytes duplicated

24 of 27 lines (88.9%) are identical in the two listings. Duplicated Different

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

Server1/!Icon/!RUN Server1/!Icon/!RUN2
10DIM q% 256 10DIM q% 256
20SYS "Wimp_Initialise",200,&4B534154,"HI" TO,task_handle% 20SYS "Wimp_Initialise",200,&4B534154,"HI" TO,task_handle%
30DIM sp% 256 , err% 256 30DIM sp% 256 , err% 256
40!sp%=-1 40!sp%=-1
50sp%!4=0 50sp%!4=0
60sp%!8=0 60sp%!8=0
70sp%!12=100 70sp%!12=100
80sp%!16=68 80sp%!16=68
90sp%!20=%00010001000000000011000000101010 90sp%!20=%00010001000000000011000000101010
100REM ^ ^ 100REM ^ ^
110$(sp%+24)="!icon"+CHR$0 110$(sp%+24)="!icon"+CHR$0
120SYS "Wimp_CreateIcon",,sp% TO ic% 120SYS "Wimp_CreateIcon",,sp% TO ic%
130REPEAT 130REPEAT
140SYS "Wimp_Poll",0,q% TO act% 140SYS "Wimp_Poll",0,q% TO act%
150CASE act% OF 150CASE act% OF
160WHEN 17,18 160WHEN 17,18
170 IF q%!16=0 END 170 IF q%!16=0 END
180WHEN 6 180WHEN 6
190 IF q%!12=-2 AND q%!16=ic% THEN 190 IF q%!12=-2 AND q%!16=ic% THEN
200 !err%=0:$(err%+4)="HELLO MATE!"+CHR$0 200 REM !err%=0:$err%="HELLO MATE!"+CHR$0
210 SYS "Wimp_ReportError",err%,3,"HI etc." TO result% 210 REM SYS "Wimp_ReportError",err%,3,"HI etc."
220 IF (result% AND 1) =1 THEN END 220 RUN
230 ENDIF 230 ENDIF
240ENDCASE 240ENDCASE
250UNTIL FALSE 250UNTIL FALSE
260 260
270 270