answersLogoWhite

0

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...

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

How i will write a program in qbasic -to display your name multiple times using do whileloop?

QBASIC code/Editor Screen (Press key [F5] to make the program RUN/execute...) ==== (Pressing any key returns you straight back to the Editor screen; where you can either chose to further Edit/Re-Run/or else, Save your program.) Here is another example. CLS COLOR 15, 4, 14 PRINT "Press any key to continue" DO WHILE INKEY$ = "" LOOP FOR c = 1 TO 20 COLOR c, 0 PRINT "Replace this with the name you want to display" NEXT c COLOR 15, 0 END


How do you edit your fashions on Girlsense once you've saved them?

you can't


How do you hack Hermit Story V2?

You have to edit your saved file or code it


Can you edit a layer in photoshop after a file has been converted?

After file is converted to what? What you mean by file is converted? If you have file saved in format that supports layers you can edit it.


What is cut text saved to?

Cut text is saved in so called clipboard or cache memory.You can display it using toolbar menu - Edit - Office Clipboard.


How do you edit registry?

You can't edit your registry manually. registry is crucial part of windows where aall configuration files saved.


How do you edit stardoll without saving?

You just don't save it exit it out without saving your stardoll and it will not be saved.


Is the country a region unto itself Taiwan?

How can you edit the imfo. for the wall of honor


How can one save Video clip collection?

On Microsoft video editior you can first edit the videos. After editing click on the little clip button and click save and then it will be saved plus you can still edit it.


Where do you go to to change your fashion on girlsense?

If you mean to edit your fashions once you have saved them then that isn't possible. Once you have saved your fashions on girlsense there is no way of going back or changing them (not yet anyway =] ) You can see the fashions you have made by clicking on "My Fashions" once you have saved them.


How can I edit an Outlook template?

Hello,By default Microsoft Outlook template will be saved in the following location. You may open it from there and edit it and see if it helps:C:\Users\username\AppData\Roaming\Microsoft\Templates​Regards


How do you edit a gaia avatar?

Clicking the Avatar itself will take you to the editing page of your Avatar.