The BTCL Language
Click to jump to:
Table of Contents
, for complete descriptions of all or some aspects of the BTCL language.
How-To Index
, to quickly access specific information on how to accomplish something.
BTCL/TCL commands and utilities index
, to find out more about specific BTCL/TCL commands and utilities.
Table of Contents
Brief Introduction to BTCL/TCL
General Programming Syntax:
Variables and Expressions
The
expr
and
eval
Commands
Control Statements
Conditional Statements: if, else, and elseif
Conditional Looping Statements: while, for, and foreach
Procedures
Commands and Utilities
Command Parameter Types
Global Variables and Environment Variables
Format for Documenting Syntax
Main access page
Advanced-Use access
.
Brief Introduction to BTCL/TCL
How-To Index
How to:
Structure Commands
Continue a command to two or more lines
End a command line
Enter several commands on one line
Include subcommands within a command
Include subcommands that act at certain times
Include comments in a command file
Specify
Discover
BTCL commands
Design your own procedures
Control Program Flow
Write conditional statements
Exit a loop under certain conditions
Specify Arguments
Separate several command arguments
Escape (quote) special characters
Work with Variables
Assign a value to a variable
Assign a value to a variable,
using an expression in place of the value
Find the value of a variable
Assign global variables
Use predefined global variables
Set a random number seed
Set an environment variable
Specify the run name
(project name)
Change default values of parameters
Find the current default values of parameters
or
of a single parameter
Reassign the original default values
Set Boolean parameter values
Evaluate Expressions
Evaluate a mathematical expression
Work with Arrays
Specify arrays
Main access page
Advanced-Use access
.
Copyright Biosym/MSI