954,157 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Importing Text into Quick Basic 4.5

I have an old BASIC program which I unfortunately no longer have a copy of. I do, however, have the original source code in a research report which I have scanned onto my computer and saved as a text file. I have not had any luck copying the text into either Quick Basic 1.1 or 4.5. Any Ideas?

pizzafiend
Junior Poster
107 posts since Sep 2004
Reputation Points: 12
Solved Threads: 1
 

Just curious: I thought we can actually edit a text file in Quick BASIC?

I have an old BASIC program which I unfortunately no longer have a copy of. I do, however, have the original source code in a research report which I have scanned onto my computer and saved as a text file. I have not had any luck copying the text into either Quick Basic 1.1 or 4.5. Any Ideas?
khkwa
Newbie Poster
12 posts since Nov 2004
Reputation Points: 10
Solved Threads: 1
 

The file contains programming code which i wish to copy and paste into quick basic.

pizzafiend
Junior Poster
107 posts since Sep 2004
Reputation Points: 12
Solved Threads: 1
 

If you can open the old code in notepad, then copy by highlighting/then right click ->copy, you can paste it into qbasic/quickbasic with the following.

(be sure the line lengths are not over 255 characters, and that
they end in CRLF. Also don't try to do it all at one time if it's more than a few
lines long; remove any control characters if necessary/possible ).

click in the qb program where you want the text.
right click on the Qbasic/QuickBasic in the tray. Go to Edit then paste

Another note: If you are trying to post entire SUBS/FUNCTIONS dont.
Make the sub or function in the normal way through the edit option of QB.
Then past from after SUB subname/FUNCTION functionname up to END SUB/END FUNCTION but not including it.

Buff
Light Poster
40 posts since May 2004
Reputation Points: 11
Solved Threads: 0
 

thank its works :cheesy:

pizzafiend
Junior Poster
107 posts since Sep 2004
Reputation Points: 12
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You