BTCL > set PROJECT my_project1 ; source my_project1
BTCL > set PROJECT my_project2 ; source my_project2In this example, the BTCL source codes are saved in files without the .inp filename extension.
BTCL > set randomSeed 35 randomSeed is set to 35
BTCL > set randomSeed 35
BTCL > set a [echo $randomSeed] 35
For commands that return the result of a numerical evaluation, the precision is controlled by the tcl_precision variable. The maximum value is 17. This value also has the special characteristic that any value converted from an IEEE floating-point value to a string and back is guaranteed to have the same binary representation before and after the conversion.
The Discover program makes use of several environment variables. These are easily accessed by BTCL by using the $env() array. For example, the $FORCEFIELD environment variable can be accessed by:
BTCL > echo $env(FORCEFIELD) cvff
BTCL Language access
Command Parameter Types
Format for Documenting Syntax
Copyright Biosym/MSI