BB2VB 2.0
is a conversion utility which facilitates the translation of Business Basic
programs to Visual Basic code.
NOTE: Version 2.0 appears to be ready. This version provides a translated product which is much less structurally complex and thereful more useful for the Business Basic programmer. It also removes some of the limitations previously noted on this page. At the same time, I have eliminated all up-front costs; You may download the complete product and run trials on existing source code to determine its usefulness. If you are already familiar with Visual Basic, you should be able to determine usefulness within hours. You may also find the Demonstration below which follows a sample program thru the complete process.
At this time, it is recommended that you use Visual Basic 6.0 . Syntax and operational changes in Visual Basic.NET dramatically change the Business Basic 'look and feel' which can be simulated in Visual Basic 6.0.
Demonstration of the translation of a sample Business Basic program to a functional Visual Basic program.
After the programs have been translated to the Windows environment, the user will see and use them as follows:
Main Menu Bar. A single entry point for all the translated programs is the Menu Bar. Its initial execution creates a semi-permanent menu bar and is equivalent to a Main Menu or Selector.
From the Menu Bar, drop-down lists emulate typical sub-menus.
Multiple Programs Active. Each program selection spawns a separate screen window (a fixed size at 80 characters by 24 lines) for each program. Therefore, multiple programs/screens may be active at any one time.
Cursor Input Box. At each 'INPUT' statement, a text box (or drop-down list) is drawn at the current cursor position and execution pauses waiting for the user to type an entry (or select from the drop-down list) followed by the 'ENTER' key or a Function Key.
Printing. A standard printer 'OPEN' (LP, P1, P2, ...) will directly and immediately open the printer identified as such, and available to the user. (The printer ID must be included within the standard Windows printer name as 'Panasonic KX-P1124 (LP)'. The standard printer font Courier New is used because of it's fixed character width. Standard Line printers will work with the standard Generic/Text Only driver. Laser and Ink Jet printers will be recognized as such; any wide-carriage printing (over 80 characters) will slightly scale down the font size and print in landscape orientation on standard 8-1/2 by 11 inch paper. A printer name of P? (or any otherwise unknown printer) will cause the user to select via the standard printer selection dialog. A Printer name of PP invokes the Print Preview sequence.
The Print Preview image will be displayed upon the screen.
The specific sequence for a conversion is as follows:
Several limitations existed with an older version. They have been rectified
in Version 2.0.
The following Business Basic lexicon is translated into either (1) in-line code, (2) CALL's to run-time routines, or (3) flagged for manual modification (tagged by * below). (Highlighted items are recent additions.)