BUGS-users: A few corrections are necessary to the ess-bugs-mode that I sent out on Friday. %MONITOR/%STATS lists were not correctly handling two-dimensional variables or the common practice of a comment following each variable. Also, upper-case filename extensions were being ignored. All of these problems have been corrected along with a few other minor additions. Please let me know if you are having any other problems. And, I failed to mention; please make sure the BUGS executable is in your DOS/Unix PATH. Finally, many mail servers rejected the previous post because I attached a .bat file. So, I'm encasing the script in the text here: --------------------begin BACKBUGS.BAT @echo off if not "%3"=="" goto 30 if not "%2"=="" goto 20 if not "%1"=="" goto 10 echo usage: backbugs [[number_of_bins] default_output_name] command_file goto 40 :10 bugs0603.exe 32 bugs %1 del bugs.buf goto 40 :20 bugs0603.exe 32 %1 %2 del %1.buf goto 40 :30 bugs0603.exe %1 %2 %3 del %2.buf :40 ----------------------end BACKBUGS.BAT Rodney Sparapani Medical College of Wisconsin Sr. Biostatistician Patient Care & Outcomes Research (PCOR) [log in to unmask] 8701 Watertown Plank Rd., Rm. H2775 (414) 456-8786 (FAX: 6689) PO Box 26509, Milwaukee, WI 53226-0509