differentiate between color command and pset command in qbasic on the basis of usage.
Answers
Answered by
10
The PSET command lets the programmer display pixels on the screen. Before you type the command in, you must make sure that a SCREEN command is in. To use PAINT, there must be a SCREEN command declared. The command has coordinates that tells QBasic where to start. The color number specifies the color to paint with, and the bordercolor tells the PAINT command that it should not paint further when it encounters a pixel of that color. In almost all cases, you will need to use the bordercolor parameter, simply because without it, PAINT will cover the entire screen
Answered by
3
this is your answer
hope this will help you
hope this will help you
Attachments:
Similar questions