what is the difference between B and BF options used with line statement?( Qbasic).
Home
/
Computer Science
/
what is the difference between B and BF options used with line statement?( Qbasic)
what is the difference between B and BF options used with line statement?( Qbasic).
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
The line statement is used in graphic screen modes to create lines or boxes.
B option
1. B option creates a rectangle using the start and end coordinates as diagonal corners. It creates a box outline with each side parallel to the program screen sides.
2. It is possible to use B with a style% to draw the rectangle outline using the desired pattern.
BF option
1. BF creates a filled box.
2. It ignores the style% parameter.
Explanation:
The option B indicates the box option whereas the option BF is used to fill the box with the desired colour shade.