Sender: Joe Fischer Message-ID: <3e349961_3@news.iglou.com> From: Joe Fischer Subject: Re: can IBM DOS Version 5.00 be taught to read obj files? Newsgroups: alt.msdos,alt.msdos.programmer,comp.os.msdos.4dos,comp.os.msdos.djgpp,comp.os.msdos.programmer References: <3e3129de_2 AT news DOT iglou DOT com> <3E31795C DOT 3010108 AT BellAtlantic DOT net> <3e321bf5_3 AT news DOT iglou DOT com> <9307085f DOT 0301250744 DOT 77f0c663 AT posting DOT google DOT com> <3e33f24e$0$223$cc9e4d1f AT news DOT dial DOT pipex DOT com> User-Agent: tin/1.5.9-20010723 ("Chord of Souls") (UNIX) (SunOS/5.7 (sun4u)) NNTP-Posting-Host: 192.107.41.17 X-Original-NNTP-Posting-Host: 192.107.41.17 Date: 26 Jan 2003 21:28:50 -0500 X-Trace: news.iglou.com 1043634530 192.107.41.17 (26 Jan 2003 21:28:50 -0500) Lines: 57 X-Original-NNTP-Posting-Host: 192.107.41.17 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In alt.msdos Mark Clements wrote: :> Joe Fischer (PATHTYPER) wrote: :> > I don't write the same routines a second time, :> > let alone over and over. :> > With the exception of part of the routine to :> > assign a filename and file variable and check the :> > existence of the file, I can't think of any routine :> > that I would use twice. : : As just one of many examples of functions I've written that get used over : and over again, my CheckInputFile() function is used in pretty much any : program that requires filenames to be passed at the command line. That's great, if you do a lot of programming using files. : You pass : the value of the argument variable where the file is located (or empty : string if none) and a default extension (if applicable) and it will expand : the filename and path, checking they exist, and prompt the user if there are : any problems. There area lot of possibilities using DOS error checking, a BBS Sysop program called Qmove had some, and I added several more to one version of it. These types of programs are very useful, but some of use just like to play with graphics, display, and game programs. :-) : The trick to making modular programming useful is : to make your functions generic. I am grateful for any and all programs having considerable utility. But in my programming, my objective is to write _the_ program and make it work with a minimum of bugs, some of which are due to my stupidity and carelessness and some from the compiler and OS the program is run on. I have zero ambition to avoid having to write code, in fact, the reason I write is to have more to do to pass the time. I get a big rush when I finally get lucky and write something that works great and is a little bit different or useful, or fun. After winning a copy of IBM PC DOS 2000 I dis a googgle search of PC DOS 2000 and was very surprised at some of the things I read, and the number of people using one flavor of DOS or another. Joe Fischer -- 3