Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
need help with qbasic print areas
#4
One more thing:  You used
LET area$ = length1*width1
Following your method, it should have been:
LET area1$ = length1*width1

But, since even that is wrong, because, as Moneo has already pointed out, you're mixing a string (area1$) with numbers (length1 and width1).  Correctly, you should have:
LET area1 = length1*width1
and, gettting with the times, it should be:
area1 - length1*width1


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


Messages In This Thread
Re: need help with qbasic print areas - by Moneo - 03-09-2009, 05:09 AM
Re: need help with qbasic print areas - by Clippy - 03-09-2009, 10:50 PM
Re: need help with qbasic print areas - by Ralph - 03-12-2009, 03:47 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)