Path: utzoo!utgpu!water!watmath!julian!uwovax!heinicke From: heinicke@uwovax.uwo.cdn Newsgroups: comp.sys.cbm Subject: How do you say "CMD" in GW-ese? Message-ID: <244@uwovax.uwo.cdn> Date: 16 Apr 88 16:10:43 GMT Lines: 12 Organisation: University of Western Ontario, Canada I'd like to convert a cbm basic program to one that works on XT's - ie to gwbasic or Quickbasic. The cbm version has some sections that print to the screen, and the user has the option to print a hard copy. The program (cbm version) has a line like open4,4: cmd 4 : gosub 2500 : print#4 :close 4 to accomplish this. The effect of "cmd 4" is to redirect all screen output to the printer (device 4) untile the file is closed. I can't seem to find the equivalent of "cmd 4" in my GW-Basic manual. Any suggestions - (other than rewrite large parts of the program!)?