How do I convert BASICA programs? 
Author Message
 How do I convert BASICA programs?

I am sure this must be a FAQ??  I am not normally a user of BASIC or
a reader of this group.  Please post replies to me directly.

I have inherited a few old BASICA programs which I would like to
get up in QBASIC.  They are not even readable in normal ASCII.
Is there a utility, or obvious way of converting them?

Peter Clayton



Wed, 07 Jan 1998 03:00:00 GMT  
 How do I convert BASICA programs?

: I am sure this must be a FAQ??  I am not normally a user of BASIC or
: a reader of this group.  Please post replies to me directly.
:    
: I have inherited a few old BASICA programs which I would like to
: get up in QBASIC.  They are not even readable in normal ASCII.
: Is there a utility, or obvious way of converting them?

: Peter Clayton
go read the help in qbasic... they teach u how to convert

as in case, u load the required basic program into the basica
environment, then save it with the command

save "filename.asc",a

the "a" at the back force it to be saved as a ascii readable file

the extension .asc is to prevent ur original .bas from being overwritten

then run qbasic filename.asc

for more info.. read the help in qbasic :)
--
        +-----------------------+-----------------------------------+

        |  aka <<-~BaSiC~->>    |    Department of Mechanical and   |
        | ` Old soldiers never  |       Production Engineering      |
        |  die, they just fade  |  National University of Singapore |
        |  away...... '         |            1993 to 1997           |
        +-----------------------+-----------------------------------+
        |       http://www.alumni.nus.sg/nussu/stud/eng30099        |
        +-----------------------------------------------------------+



Wed, 07 Jan 1998 03:00:00 GMT  
 How do I convert BASICA programs?

Quote:

>I am sure this must be a FAQ??  I am not normally a user of BASIC or
>a reader of this group.  Please post replies to me directly.

>I have inherited a few old BASICA programs which I would like to
>get up in QBASIC.  They are not even readable in normal ASCII.
>Is there a utility, or obvious way of converting them?

>Peter Clayton

Peter,
         There is a utility that will convert them and remove list
protection.  I don't know where you would find it perhaps someone else
can tell you that.
       If a program was not protected when it was originally saved (so it
can't be listed) than saving it as an ASCII file is as simple as loading
it into GWBASIC or BASICA and then saving it again with the ,a option.

 e.g. save "files.bas", a or save "file" ,a  

The second quotes are necessary.  If the file can't be listed or if you
don't have a copy of GWBASIC or BASICA then you would need the utility.

-

-



Wed, 07 Jan 1998 03:00:00 GMT  
 How do I convert BASICA programs?
Dear Prof. Calyton,

you can use BASICA interpreter to save you programs with the A option to
convert them into ASCII format from the defualt binary compressed format.
Then you can load them into QBASIC directly. To save them, type
SAVE"myfile.bas",A and hit return.

Best regards
Haitham



Fri, 09 Jan 1998 03:00:00 GMT  
 How do I convert BASICA programs?


Quote:

> >I am sure this must be a FAQ??  I am not normally a user of BASIC or
> >a reader of this group.  Please post replies to me directly.

> >I have inherited a few old BASICA programs which I would like to
> >get up in QBASIC.  They are not even readable in normal ASCII.
> >Is there a utility, or obvious way of converting them?

From the FAQ

6. QUESTION
~~~~~~~~~~~
How do I un-protect a GW-Basic program saved with the ',P' switch?

6. ANSWER
~~~~~~~~~
A short program to do this can be found at:-
ftp://simtel/msdos/basic/unpbass11.zip

7. QUESTION
~~~~~~~~~~~
How do I import a GW-Basic program into QuickBasic (or any other
dialect).

7. ANSWER
~~~~~~~~~
If you have a copy of GWBASIC, load your source file and save with the
',A' switch (SAVE "PROGNAME.BAS",A).

If you don't have GWBASIC, then
ftp://simtel/msdos/basic/rb58.zip should do the job. Written by V.Buerg

<NOTE:- These answers probably apply to BASICA also? Someone try it for me:)>

Hope this helps
--
Douggie
         sig _finally_ got it's own place (Nice little hole in't road)



Sat, 10 Jan 1998 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Help!! Converting Programs From Basica

2. Binary Files in BASICA - Can It be done?

3. Problem converting from basica to gwbasic

4. Volunteer to convert my BASICA/GWBASIC into ascii

5. Anyone have a qbasic or basica Terminal Program ????

6. Problem with legacy Basica programs

7. BASICA PROGRAM

8. BASICA PROGRAM

9. BASICA Init. Program

10. Modifiying Programs saved in BASICA with ,P

11. How to convert a Access 95 program to Access 2000 program

12. Convert your .exe programs to Web Page programs (News 1023)

 

 
Powered by phpBB® Forum Software