Basic - DOS BASIC - VBDOS - BC (Basic Compiler)
BC.EXE creates object files (.OBJ) that can be linked with LINK.EXE to become executable files (.EXE) or Quick Libraries (.QLB).
Command Line:
BC [options] sourcefile [objectfile] [listfile] [;]
| /? | Displays available command-line options. | |
| /A | Creates disassembled object code-listing from source. | |
| /Ah | Allows dynamic arrays, fixed-length strings, and numeric data to be greater than 64K each. | |
| /C:n | Sets COM buffer size. | |
| /D | Enables Ctrl+Break and run-time error checking. | |
| /E | Supports use of ON ERROR with RESUME. | |
| /Es | Shares expanded memory with mixed-language routines. | |
| /MBF | Enables read and write of Microsoft Binary Format numbers. | |
| /O | Creates stand-alone EXE; can run without run-time module. | |
| /R | Stores arrays in row-major order rather than column-major. | |
| /S | Writes quoted strings directly to object file. | |
| /T | Suppresses warnings given by the compiler. | |
| /V | Enables event trapping for communications. | |
| /W | Enables event trapping but also checks for events. | |
| /X | Supports use of RESUME, RESUME NEXT, or RESUME 0. | |
| /Zd | Indicates limited Codeview support; produces object file containing line-number, procedure name, and limited variable name information; form and code modules compiled with /Zd must first be saved in ASCII format. |
|
| /Zi | Indicates full Codeview support; produces object file containing line-number, procedure name, and full variable name information; form and code modules compiled with /Zi must first be saved in ASCII format. |
|
| VBDOS Professional Edition: | ||
| /FPa | Causes program to use alternate-math library for floating-point operations. | |
| /G2 | Enables optimization switch for 80286 processor. | |
| /G3 | Enables optimization switch for 80386 processor. | |
| /Ib:n | Sets minimum number of buffers to be used by ISAM. | |
| /Ie:n | Sets amount of non-ISAM expanded memory space. | |
| /Ii:n | Specifies maximum number of non-NULL ISAM indexes. | |