Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
wrong characters in XP graphics.
#14
Jacobb:

When the code for a program becomes unintelligible, or when some of the code is missing, and we struggle for a while and decide it's just not possible, about the only sane and reasonable solution is to start from scratch, that is, rewrite the whole thing!  And, this time, begin by writing up a good desciption of the proyect in a good word processor, saving the file with the intended program's name. 

The second step is to do some general coding that works, and save it with the desciptor, say, filenm00.bas, saved as text.  I also like to preface my code with a brief description of the program's use, as well as a numbered single-line title for each of the intended steps for the program, which I modify as I progress with the code, doing an update on each finished "version". 

For the next step, call up filenm00.bas, save it immediately as filenm01, and start working on it.  Write the next bits of code and run it, making sure it works...if not, fix it...; if you cannot, then, bring up the last, working copy (filenm00 will be the first), save it immediately as the next number in line (filenm01, for the case in point), and continue in this manner, ending up with as many "versions" as you need. 

Now, save all the "versions" to some conveniently located folder named, say, filenm,  copy the last and greatest one to your qb folder (directory), and proceed to compile it. 

Oh, I almost forgot!  DO USE GOOD, EXPLANATORY REMARKS for each new paragraph of code, either just before writing it, or just after, so that, when you have to go back to your code next month or next year, you will have good reminders of what the code is supposed to do.  These remarks will someday be worth more than one can believe!!!

And, good luck!
Ralph, using QuickBASIC 4.5 and Windows XP Home Edition and Service Pack 2, with HP LaserJet 4L printer.
Reply


Messages In This Thread
wrong characters in XP graphics. - by jacobb - 02-11-2008, 05:46 PM
Re: wrong characters in XP graphics. - by Mac - 02-14-2008, 12:37 PM
Re: wrong characters in XP graphics. - by jacobb - 02-16-2008, 12:46 AM
Re: wrong characters in XP graphics. - by jacobb - 02-16-2008, 01:35 AM
Re: wrong characters in XP graphics. - by Mac - 02-16-2008, 02:09 PM
Re: wrong characters in XP graphics. - by Ralph - 02-17-2008, 12:07 AM
Re: wrong characters in XP graphics. - by Mac - 02-18-2008, 01:23 PM
Re: wrong characters in XP graphics. - by Ralph - 02-19-2008, 08:03 AM
Re: wrong characters in XP graphics. - by jacobb - 02-19-2008, 04:59 PM
Re: wrong characters in XP graphics. - by Ralph - 02-20-2008, 03:27 AM
Re: wrong characters in XP graphics. - by jacobb - 02-20-2008, 06:31 PM
Re: wrong characters in XP graphics. - by Ralph - 02-21-2008, 08:13 AM
Re: wrong characters in XP graphics. - by gummo - 05-27-2008, 09:25 AM
Re: wrong characters in XP graphics. - by Ralph - 05-27-2008, 11:08 PM
Re: wrong characters in XP graphics. - by LPG - 05-28-2008, 10:21 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)