end;if left(all,19)="Cant lockopen file" then;do;say "File not found...";exit 0;end;if substr(all,7,6)="Snatch" then;do;say "This file can not be opened!";say "File probably contains illegal chars...";exit 0
end;address command 'filenote >nil: "'||nodized||'" "'all'"';say "OK.";exit 0;end;busy on;dopustofront;checkabort;if INTER="INTERACTIVE" then INTER=1;if INTER="MAKELIST" then MAKE=1;if INTER="DATECHECK" then DCHECK=1
if NODIZED="NODIZED" then NODIZED=1;if NODIZED="DATECHECK" then DCHECK=1;if DATECHECK = "DATECHECK" then DCHECK=1;remember;firstfilename=' working...';comcount=0;lI='0a'x;str.6='"6 | mArvelOus pIEce of wOrk! |"';l='32'x;IIl='535445454C4552'X;str.4='"4 | CoMe tO tHe phanTasm WWW |"'
end;if length(comlast)<=19 then do;dope= lIl||'Welcome to the first use of CD on this dir!'lI||lI'Please Remember: The localization of Dopus must'lI'be the same then the one on workbench!'lI'Otherwise ComDizZ won`t work 100% in interactive mode!'lI'And PLEASE read the manual !!!'lI;head= '"OKI!"';butt= '"OKI!"';beep;call output;end;busy on;comlast=right(comlast,18)||" >";remember
modify DateFormat 1;'SELECT "'||comlast||'" onlyfiles date';restore;end;status 9 window;COUNT=result;if COUNT = 0 then;do;dope= lIl||'You Dork! - You forgot to'lI'select a file!'lI;head= "'-=> I`m such a horse! <=-'";butt= "'-=> Ohhhh...so sorry! <=-'"
if DCHECK=1 then;do;dope= lIl||'Sorry - No new files found!'lI;head= "'-=> ComDizZ, you made it! <=-'";butt= "'-=> I guessed there were some! <=-'";end;beep;call output;exit 0;end;call outway
bong=0;skipper=0;dope="";head="";butt="";all="";call testabbo;call dofileid;if substr(all,7,6)="Snatch" then;do;dope= lIl||'ERROR on file:'firstfilename||lI'The file cannot be opened !'lI'Filename probably contains illegal chars !'lI
head= '"I`ll rename it!"';butt= '"I`ll rename it!"';beep;call output;call inway;exit 0;end;if left(all,19)="Cant lockopen file" then;do;dope= lIl||'OH NOOOO!'lI'ERROR: Is this a FILE or a DIR?'lI;head= '"Sorry - this is my first try!"'
butt= '"Mi djast a damp, horni nabsaker !"';beep;call output;bong=1;end;call testabbo;if all="RESULT" then bong=1;busy on;if bong=0 then;do;if all= "No fileiddiz available" then
otherwindow;busy on;do i = 0 to 9;removefile str.i 1;end;otherwindow;rescan;return;output:;remember;status 26
old_okay = result;status 27;old_cancel = result;status 26 set head;status 27 set butt;busy on;request dope;tst=result;status 26 set old_okay;status 27 set old_cancel;restore
return;testabbo:;busy on;toptext lll||' tO gO: '||count||' sTATUS: '||firstfilename;checkabort;ab=result;if ab=1 then;do;dope= lIl||'Quit? Now? Really? Sure? 100%?'lI;head= '"Yes, a 100%"';butt= '"Nope... Continue!"'