3.721 bytes

Service Hints & Tips

Document ID: DJON-3G4QVU

Aptiva - Converting BASIC and BASICA programs for use with QBASIC

Applicable to: United States

BASIC and BASICA programs can be made to run with QBASIC by doing the following:

1. On the older system, start up BASICA and load the desired BASIC program.

2. Save the BASIC program with the ASCII option. The syntax is:

SAVE "filespec",a

Example session: Assume BASIC program is named TEST.BAS. Therefore, use the commands:

BASICA

LOAD "TEST.BAS"

SAVE "TEST.ASC",a

The resulting TEST.ASC file can now be loaded and executed in QBASIC.

In the above example, the TEST.ASC file is the ASCII version of the original TEST.BAS. You can use any filename or extension that you wish when saving the file. It does not have to be the same filename as the .BAS filename, nor does the extension ASC have to be used.

3. Most programs will run in QBASIC as-is. Some, however, may need minor changes. These are documented in the online Help in QBASIC, topic: Using QBASIC, subject: "Converting BASICA programs".

4. For other BASIC Interpreter or Compiler programs, the same general instructions will apply as well. Consult the User's Guide that comes with the BASIC Interpreter or Compiler program to determine the procedure for converting the older programs to the new format. Some BASIC Interpreters are able to recognize the older BASIC format and convert them automatically.

Search Keywords

Hint Category

DOS/Windows 3.x

Date Created

13-04-97

Last Updated

15-03-99

Revision Date

15-03-2000

Brand

IBM Aptiva

Product Family

Aptiva

Machine Type

2134, 2144, 2168, 2176

Model

6R6; 6R7; C21; C32; 6R9; C31; C54; C5D; F31; 6R8; 7R1; 7R2; 7R3; 7R4; 7R5; 7R6; 7R7; 7R8; 7R9; 7RO; 8R1; 8R2; 8R3; 8RO; C23; C33; C35; C53; C55; C57; C5H; C65; C66; C67; C69; C73; C75; C77; C79; C7H; F23; F35; F57; F69; F79; 5R5; M91; 2R5; 2R7; 2R8; M30; M35; M50; 2R6; 4R7; 4R8; M40; M54; M58; 3R0; 3R8; M60; M70; 3R4; 3R6; 4R1; 4R9; M31; M51; M52; M63; 2R9; 3R1; 3R3; 3R5; 3R7; 3R9; 4R0; 4R2; 4R3; M41; M53; M55; M56; M57; M61; M62; M71; M72; 5R1; 6R3; A10; A12; A14; 5R2; 5R3; 5R6; 5R8; 5R9; 6R0; 6R4; 6R5; A15; A40; A44; A45; A50; A51; A52; A90; A92; A94

TypeModel

21346r6

Retain Tip (if applicable)

Reverse Doclinks
and Admin Purposes