-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbc_usage.txt
101 lines (80 loc) · 4.86 KB
/
bc_usage.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
From: http://support.microsoft.com/kb/43090
Option Definition
------ ----------
/a Creates a listing of the disassembled object code for each
source line and shows the assembly-language code generated by
the compiler.
/ah Allows dynamic arrays of records, fixed-length strings, and
numeric data to occupy all of available memory. If this option
is not specified, the maximum size is 64K per array. Note that
this option has no effect on the way data items are passed to
procedures. (See also the REM $DYNAMIC metacommand.)
/c:<n> Sets the size (<n> = bytes) of the buffer receiving remote
data using an asynchronous communications adapter for each
communications port. (The transmission buffer is allocated 128
bytes for each communications port and cannot be changed on
the BC command line.) This option has no effect if the
asynchronous communications card is not present. The default
buffer size is 256 bytes total for BOTH ports; the maximum
size is 32,767 bytes. The default, /c:512, is automatically
added when invoking the Make EXE File command from the Run
menu in QuickBasic 4.0b and 4.5 (not in QuickBasic 4.0).
/d Generates debugging code for run-time error checking and
enables CTRL+BREAK. This option is the same as the Produce
Debug Code option from the Run menu's Make EXE File command
within the environment.
/e Indicates the presence of ON ERROR with RESUME linenumber
statements. (See also the discussion of the /x option in this
list.)
/mbf Causes the QuickBasic conversion functions to treat
IEEE-format numbers as Microsoft binary format numbers. The
intrinsic functions MKS$, MKD$, CVS, and CVD are converted to
MKSMBF$, MKDMBF$, CVSMBF, and CVDMBF, respectively. See
the "Microsoft QuickBasic 4.0: Basic Language Reference"
manual or corresponding help for more information about these
functions.
/o Substitutes the appropriate BCOMxx.LIB stand-alone program
library for the BRUNxx.LIB run-time module library.
/r Stores arrays in row-major order. Basic normally stores arrays
in column-major order. This option is useful if you are using
other language routines that store arrays in row order.
/s Writes quoted strings to the object file instead of the symbol
table. Use this option when an "Out of memory" error message
occurs in a program that has many string constants.
/t This option stands for terse. It suppresses warning messages
during compilation. However, severe error messages still are
displayed. This option is not available in QuickBasic 4.0.
Also, /t is automatically added to the BC command line in
QuickBasic 4.0b and 4.5 whenever you choose Make EXE
File from within QB.EXE.
/v Enables event trapping for communications (COM), light pen
(PEN), joystick (STRIG), timer (TIMER), music buffer (PLAY),
and function keys (KEY). Use this option to check between
statements for an occurrence of an event.
/w Enables event trapping for the same statements as /v, but
checks at each line number or label for occurrence of an
event (thus /w does less-frequent checking than /v).
/x Indicates presence of ON ERROR with RESUME, RESUME NEXT, or
RESUME 0.
/zd Produces an object file containing line-number records
corresponding to the line numbers of the source file. This
option is useful when you want to perform source-level
debugging using the Microsoft Symbolic Debug Utility (SYMDEB)
available with Microsoft Macro Assembler version 4.0.
/zi Produces an object file containing debugging information used
by the Microsoft CodeView debugger, available with Microsoft C
version 5.0, Microsoft Macro Assembler version 5.0, and
Microsoft Basic Compiler version 6.0.
The following BC.EXE options are supported in Microsoft Basic Compiler
versions 6.0 and 6.0b, but not in QuickBasic 4.0, 4.0b, or 4.5:
/LP Creates a protected-mode object file for use in MS OS/2
protected mode, no matter which operating system you are in at
compile time.
/LR Creates a real-mode object file for use in MS-DOS or MS OS/2
real mode (DOS 3.x box), no matter which operating system you
are in at compile time.
/FPi Generates in-line (i) coprocessor instructions for floating
point (FP) math. If a coprocessor is not present at run time,
the Basic run-time system will emulate a coprocessor.
/FPa Generates code using alternate (a) math library, which runs
faster than emulating a coprocessor when none is present.