03-12-2009, 03:47 AM
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
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.