Home
> Commands A-M
> Commands G
GWBASIC
Description
| Syntax
| Parameters
| Switches
| Related
| Notes
| Examples
| Errorlevels
| Availability
Basic language command interpreter.
Syntax
GWBASIC
[file_name]
[/c:n]
[/d]
[[/f:n]
[/i]]
[/m:[n][,nn]]
[/s:n]
Parameters
- filename
(v3.1)
- Name of a GW-BASIC program file. The default
extension is .BAS.
Switches
- /c:n
(v3.1)
- Controls RS-232 communications. Allocates n bytes
for the receive buffer and 128 bytes for the transmit
buffer for each RS-232 card present. /c:0 disables
RS-232 support. Defaults to 256 bytes.
- /d
(v3.1)
- Allows ATN, COS, EXP, LOG, SIN, SQR, and TAN
functions to return double-precision results.
Approximately 3000 bytes of additional code space
is used.
- /f:n
(v3.1)
- Allocates maximum number of files opened
simultaneously. Each file requires 194 bytes for the
File Control Block (FCB) plus 128 bytes for the data
buffer. The data buffer size may be altered using
/s. Default is 3.
- /i
(v3.1)
- Statically allocate file operation space for
/s and
/f.
- /m:[n][,nn]
(v3.1)
- Sets n as the highest memory location and nn
maximum block size (in multiples of 16) used by
GW-BASIC. Defaults to 64K for data and stack segments.
Used to reserve memory space for machine language
subroutines beyond GW-BASIC's workspace.
- /s:n
(v3.1)
- Sets maximum file record length. Default is 128,
maximum is 32767.
Related
none.
Notes
none.
Examples
none.
Errorlevels
none.
Availability
- External
-
- DOS
-
v3.1
- Windows
-
none
- Windows NT
-
none
Last Updated: 2003/07/28
Direct corrections or suggestions to:
Rick Lively