shaukmio
Posts: 2
Joined: Wed Mar 28, 2007 6:08 pm

Postby shaukmio » Thu Mar 29, 2007 11:22 am

i was wondering how to copy a code from this forum in to qbasic so if you could tell me how it would be much appreciated

Louise
Former Expert
Posts: 921
Joined: Mon Jan 16, 2006 2:17 pm

Postby Louise » Thu Mar 29, 2007 2:35 pm

shaukmio wrote:i was wondering how to copy a code from this forum in to qbasic so if you could tell me how it would be much appreciated


usually you can just cut and past text in to the compiler. Have you tried this?

Louise

Craig_Bridge
Former Expert
Posts: 1297
Joined: Mon Oct 16, 2006 11:47 am

Postby Craig_Bridge » Thu Mar 29, 2007 4:49 pm

You may have to cut and paste the text using your favorite text editor and then tell qbasic to run the file. There maybe some file extension assumptions. "help save" should give you some hints at how to save a simple program you type in such as a one line "hello world" program into a text file. "help run" should give you hints at how to specify a file to load and interpret.

print "hello world"

Basic is was designed to provide help and encouraging you to try things.
-Craig


Return to “Math & Computer Science Sponsored by Hyperion Solutions Corp”