********************************** *** *** *** DE-COLON V1.3 *** *** *** *** Written By John.A.Kinsella *** *** *** ********************************** *** INFO This accessory was specially written for AMOS Professional users so that when they create a program which is full of REM statements and more than one command is on each line, this utility could tidy it up by removing REM statements and seperating each command onto it's own line, this helps the program run just that little bit faster. *** INSTALLATION To install this accessory simply copy it onto your AMOS Professional System disk, then load up AMOS itself and place it inside the User-Menu by adding it as an option. *** RUNNING When calling the program from the menu, make sure that the program buffer is large enough to handle any extra lines that have to be added, try incresing it by 20k. Next it will ask if you really wish to De-Colonise the program, click YES to continue, now it will ask if you wish to remove the REM statements in the listing, click on YES or NO depending on which option you require. *** EXAMPLE The following is an example of what the De-Colonise program will do to the listing :- Screen Open 0,320,200,2,Lowres : Curs Off : Flash Off : Cls 0 ' A=1 : B=1 : C=1 : D=1 ' If A=1 Then Print "A IS 1" : Boom ' If B=1 : Print "B IS 1" : Shoot : End If ' If C=1 And D=1 Then Print "C & D IS 1" : Bell 96 Else Print "HELLO" ' Wait 100 : Fade 3 : Wait 45 : Screen Close 0 : Direct The above listing will be changed to :- Screen Open 0,320,200,2,Lowres Curs Off Flash Off Cls 0 ' A=1 B=1 C=1 D=1 ' If A=1 Print "A IS 1" Boom End If ' If B=1 Print "B IS 1" Shoot End If ' If C=1 And D=1 Print "C & D IS 1" Bell 96 Else Print "HELLO" End If ' Wait 100 Fade 3 Wait 45 Screen Close 0 Direct And if it is told to remove the REM statements, the (') characters will be removed as well. *** BUGS The De-Colonise program has a few minor problems with some listings e.g. Do not try to De-Colonise a program which includes the following line style :- If A=1 Then 304 - This line must have a GOTO command in between the THEN and the 304, otherwise it ends up like this If A=1 304 End if - Which will come up with an error. *** CREDITS The original listing for the De-Colonise program was written by Aaron Fothergill, I simply modified it to work as an AMOS Profesional accessory, and added a few extra routines to it.