- ' Prg computes & displays % grades
' based on number of points missed (y)
' PP = points possible on assignment
' y = number of points missed by student
'x for next to increment y (used b/c "STEP .5" command does not work)
'*** setup ***
dim x as double
dim y as double
dim pp as double
dim sc as double
dim total as double
dim max, min, st as double
max = 16
min = .25
st = .25
'*** input ***
input"assignment name";n$
input "points possible";pp
cls
'** ouput and processing **
? "Percent grading scale for ";n$
? "Points Possible = ";pp
for x = min to max step st
sc=(pp-x)
total=sc/pp
lprint x, total ' here is the line that does not work!
next x
sleep
end
I am on a network where there is a laser printer attached. I can also set the default printer to a desktop printer. However, I really need this to work with the networked laser printer as various students (next semester) will be using boxes on the network and I want them to be able to make output tables on the printer also.
No matter which printer I make the default, I cannot get it to make a hardcopy. The program simply runs, no output is given, and then ends (upon keypress).
Is there someone out there who can modify the output area of my code to make it print on a printer?
Thanks,
Lee