BASIC stamp manual v2.2

3: Using the BASIC Stamp Editor
BASIC Stamp Syntax and Reference Manual 2.2 www.parallax.com Page 79
Table 3.9: Command Line
Switches
Command Function
/Com#
Specify com port (serial port) to download to. # is a valid com port
number. NOTE: must be one word, i.e.: Com2 indicates com port 2.
/ReadOnly
Open source_file in read-only mode. The Ctrl key acts as a download key
when in read-only mode. Requires source_file argument. This command
option is not available if double-piped communication is established.
/Identify
Identify BASIC Stamp modules on COM ports. Requires redirection to
output_file.
/Tokenize
Tokenize source code. No prompts will be displayed. Requires
source_file argument and redirection to output_file.
/Download
Tokenize source code, and download it (if tokenization successful).
Requires source_file argument and redirection to output_file.
/Updates
Provides program slot number (if applicable) and download-percentage-
complete status updates during download.
/NoDebug
No Debug Terminal opens after downloading (even if code contains
DEBUGs) and COM port is immediately closed after downloading. This
option requires /Download switch. Note: This switch will have no effect if
Debug Terminal is already open from a previous operation.
/NoPrompts
No screen prompts at all (except for Debug Terminal). This option requires
/Download switch.
/Pipe
master_file
Start up master_file (must be .exe) and establish bi-directional
communication pipes (double-piped communication) for master-program-
controlled execution. Stampw.exe remains open until master_file breaks
pipe. This command option is not available once double-piped
communication is established.
/Help
Display command-line help. This command option is not available if double-
piped communication is established.
When the output of the BASIC Stamp Editor is piped to a file or a master
program, it displays all of its messages in a specific, predefined format.
Each message has a unique 3-digit number. Detailed information about
the use of command-line options, including a table of all messages with
their ID numbers, can be found in the “What’s New in Stamp.exe”
document included with the typical installation of the Stamp Editor.