Converting .bas files from MS QBasic v1.1 into PureBasic.
Posted: Fri Feb 22, 2013 4:45 pm
I have been using MS QBasic v1.1 for over two decades in right from very low level 8 bit PCs like Altaire, 8080s etc., to P4 all running MS DOS 6.22 - small footprint, loads quickly, full screen, command line mode, single user, no networking etc.,
However the fast changing PC H/W and OS scenario with 32 bit and 64 bit staring you in the face does not permit running .bas files from MS QBasic v1.1 in full screen mode, multiple hard drives support etc.,
So I felt PureBasic v 5.0 may be the answer.
Given the vast differences in Statements and Command Syntax between MS QBasic v1.1 and PureBasic v 5.0, I get into Syntax errors when trying to run .bas files inside PureBasic although I managed to copy paste the code into the Program Window.
Recoding afresh in PureBasic sounds daunting.
I just need to make, in my Dell Aliewnware Aurora ALX 64 bit and Dell Inspiron One 2020 PCs running Windows 7 Ultimate 64 bit and Windows 7 Home Basic 3w2 bit respectively, a Pharmacy Bill ( of Medicines sold to my patients), print it to a Parallel Port / USB port Dot Matrix Printer / Laser printer and store the bills to an appendable .dat file residing in my HDD from where I can run them in VFP9 and do whatever I want with the data.
I may not use all the other sophisticated features of PureBsic - they are just marvellous, out of this world though.
I just need to run a program called 16699cst.bas supported by a data lookup table called 16699cst.dat (.csv) and 16699bln.dat (for automatic generation of Bill Number)and then store them in sequential .dat / .csv files named 16699lsy.dat and 16699mur.dat, all of which which I can upload to this forum, if there is provision to upload files.
I need help!
TIA!
LMK
However the fast changing PC H/W and OS scenario with 32 bit and 64 bit staring you in the face does not permit running .bas files from MS QBasic v1.1 in full screen mode, multiple hard drives support etc.,
So I felt PureBasic v 5.0 may be the answer.
Given the vast differences in Statements and Command Syntax between MS QBasic v1.1 and PureBasic v 5.0, I get into Syntax errors when trying to run .bas files inside PureBasic although I managed to copy paste the code into the Program Window.
Recoding afresh in PureBasic sounds daunting.
I just need to make, in my Dell Aliewnware Aurora ALX 64 bit and Dell Inspiron One 2020 PCs running Windows 7 Ultimate 64 bit and Windows 7 Home Basic 3w2 bit respectively, a Pharmacy Bill ( of Medicines sold to my patients), print it to a Parallel Port / USB port Dot Matrix Printer / Laser printer and store the bills to an appendable .dat file residing in my HDD from where I can run them in VFP9 and do whatever I want with the data.
I may not use all the other sophisticated features of PureBsic - they are just marvellous, out of this world though.
I just need to run a program called 16699cst.bas supported by a data lookup table called 16699cst.dat (.csv) and 16699bln.dat (for automatic generation of Bill Number)and then store them in sequential .dat / .csv files named 16699lsy.dat and 16699mur.dat, all of which which I can upload to this forum, if there is provision to upload files.
I need help!
TIA!
LMK