answersLogoWhite

0

QBASIC GRAPHICS

There any many different things you can draw in QBASIC; ranging from...

-dots

-lines

-rectangles

-circles

-shapes empty/or, filled in(painted)

-you can even do LOGO style programming to draw graphics with; by joining up connected lines

-animations are possible, too

====

QBASIC BUILT-IN HELP FILE + CODE EXAMPLES

In order to view the QBASIC built-in Help file...; first, load the QBASIC program itself...; and, then, do a combination key press of:

[SHIFT] + [F1]

Use the built-in QBASIC Help file to learn more about how to use these 'graphic related' commands, and, more...!

The QBASIC Help file also contains plenty of 'example codes'; which you can just use 'copy & paste'; then, RUN...to see what the output effect will be...???

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Engineering

How do you open a saved Qbasic file in QBASIC itself to edit it?

IF THE QBASIC IDE/INTEGRATED DEVELOPEMENT ENVIRONMENT *IS* ALREADY OPEN Inside of QBASIC IDE/Integrated Development Environment...; you load in QBASIC programs as follows... 1. Use your mouse to click the QBASIC Menu option being seen top right... File > Open ...then, browse through the file list box to load your chosen program file. 2. Alternatively, you can also use keyboard short cut... [ALT]+[F], this opens up the file menu...then, press [O] ...does exactly the same as above IF THE QBASIC IDE/INTEGRATED DEVELOPMENT ENVIRONMENT IS *NOT* ALREADY OPEN 3. Another way is to open up a command line window prompt: (>)... Click [Start] button ...then, type: Command .../or, type: Cmd ...at least, one of the above should work... ...and, run the QBASIC program from there... by typing in after the command line prompt: (>)... c:\> cd, means, change directory folder... cd C:\pathToQbasic For example the file path name to where my version of QBASIC is stored here... c:\basic\qb64 So, I would first change to this folder directory by typing in after the prompt: (>)... c:\>cd c:\basic\qb64 ...this changes my command line prompt: (>) to say... c:\basic\qb64> Inside of the [qb64] folder directory, I wrote a very simple program called: hw.bas ...which contains the following single line of code... PRINT "Hello, world!" I can launch both the QBASIC program: [qb64.exe]/and, at the same time load in my chosen program file: [hw.bas], by typing after the command line prompt: (>)... C:\Basic\qb64>qb64 hw.bas ...the QBASIC program instantly loads: [qb64.exe]/with the program file [hw.bas] already being displayed inside of the Editor Screen. Next, I only need to press function key [F5] to RUN/make that program file execute... QBASIC Output Screen... Hello, world! Press any key to continue...


What is the extension of qbasic program?

.bas file ==== <--QBASIC CODE end Now, go and search your computer c:\ directory for the file called: homepage.htm; and, left double click on it to run; your web browser software should automatically launch itself, and, so display the web page output. Right click within an empty space within the web browser page...and, choose View > Source...and, you will be able to see the HTML source codes which were used to originally write the web page with; though, the QBASIC code itself is not displayed but remains entirely hidden.


How do you open a svd file saved on a disc?

To open a SVD file saved on a disc, double click on it. If the file doesn't open, you need a software application for SVD file extensions.


What is the shortcut key for input statement in QBasic?

There is no shortcut key of input in qbasic


What are the different types of operators in QBASIC?

The different types of operators in QBASIC are:Arithmetic OperatorsRelational OperatorsLogical Operators

Related Questions

What extension would a file saved in Qbasic have?

the extensions of qbasic are that, there are only 80 pixels to write in the qbasic


How do you start QBASIC in windows Vista?

To start QBASIC in Windows Vista, first, ensure you have the QBASIC executable file (QBASIC.EXE) available on your computer. Open the Start menu, select "Computer," and navigate to the folder where QBASIC.EXE is located. You can run QBASIC by double-clicking the executable file or by opening the Command Prompt, navigating to the folder using the "cd" command, and typing "QBASIC" to launch the program. If you encounter issues, consider running it in compatibility mode for older versions of Windows.


How do you open a saved Qbasic file in QBASIC itself to edit it?

IF THE QBASIC IDE/INTEGRATED DEVELOPEMENT ENVIRONMENT *IS* ALREADY OPEN Inside of QBASIC IDE/Integrated Development Environment...; you load in QBASIC programs as follows... 1. Use your mouse to click the QBASIC Menu option being seen top right... File > Open ...then, browse through the file list box to load your chosen program file. 2. Alternatively, you can also use keyboard short cut... [ALT]+[F], this opens up the file menu...then, press [O] ...does exactly the same as above IF THE QBASIC IDE/INTEGRATED DEVELOPMENT ENVIRONMENT IS *NOT* ALREADY OPEN 3. Another way is to open up a command line window prompt: (>)... Click [Start] button ...then, type: Command .../or, type: Cmd ...at least, one of the above should work... ...and, run the QBASIC program from there... by typing in after the command line prompt: (>)... c:\> cd, means, change directory folder... cd C:\pathToQbasic For example the file path name to where my version of QBASIC is stored here... c:\basic\qb64 So, I would first change to this folder directory by typing in after the prompt: (>)... c:\>cd c:\basic\qb64 ...this changes my command line prompt: (>) to say... c:\basic\qb64> Inside of the [qb64] folder directory, I wrote a very simple program called: hw.bas ...which contains the following single line of code... PRINT "Hello, world!" I can launch both the QBASIC program: [qb64.exe]/and, at the same time load in my chosen program file: [hw.bas], by typing after the command line prompt: (>)... C:\Basic\qb64>qb64 hw.bas ...the QBASIC program instantly loads: [qb64.exe]/with the program file [hw.bas] already being displayed inside of the Editor Screen. Next, I only need to press function key [F5] to RUN/make that program file execute... QBASIC Output Screen... Hello, world! Press any key to continue...


How do you open Qbasic in fullsceen?

alt+enter


Programming files in binary access mode in qbasic?

In QBasic, programming files in binary access mode allows you to read from and write to files using binary data rather than text. You can open a file in binary mode using the OPEN statement with the FOR BINARY option. This mode is particularly useful for handling non-text data, such as images or compiled objects, as it provides direct control over the byte-level representation. Use the GET and PUT statements to read from and write to the binary file.


You are getting End of File error in Qbasic What should you do?

An End of File (EOF) error in QBasic typically occurs when your program tries to read past the end of a file. To resolve this, check your file handling code to ensure that you are not attempting to read beyond the available data. Use the EOF function to verify the end of the file before performing read operations. Additionally, ensure that the file is opened correctly and contains the expected data.


What is the extension of qbasic program?

.bas file ==== <--QBASIC CODE end Now, go and search your computer c:\ directory for the file called: homepage.htm; and, left double click on it to run; your web browser software should automatically launch itself, and, so display the web page output. Right click within an empty space within the web browser page...and, choose View > Source...and, you will be able to see the HTML source codes which were used to originally write the web page with; though, the QBASIC code itself is not displayed but remains entirely hidden.


how to open a file?

How to open a dxl file?


How to open a dxl file?

How to open a dxl file?


How open bfa file?

how open bfa file


How do you open the file within the software that created the file?

Start the software. Usually there is an open button or a file menu. If there is no open button, go to file. Click open.


How do you open an Alice a2w file?

Open Alice, the program. From there, open it and open an a2w file.