URGENT: Mathematics Programming

Ask questions about projects relating to: computer science or pure mathematics (such as probability, statistics, geometry, etc...).
shaukmio
Posts: 2
Joined: Wed Mar 28, 2007 6:08 pm

Post by shaukmio »

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

Post by Louise »

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

Post by Craig_Bridge »

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
Locked

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