Scripting Help

From TNT

Jump to: navigation, search

Contents

Introduction

TNT has a scripting language, which allows the user to automate complex tasks, or "program" TNT to do things it normally doesn't do. The scripting language has flow control, loops, and internal variables that can be accessed by the user.

Executing scripts

HOW TO RUN A SCRIPT

The scripting language is normally disabled; it is enabled by entering

 macro=; 

at the command prompt. The macro command also controls the basic settings for the macro language, like total RAM for macros, number of variables, number of nested loops, and protection level for accessing variables/arrays (for details, see online help for macro).

Language

INTERNAL VARIABLES

USER VARIABLES

LOOPS

EXPRESSIONS

Decisions

Input/Output

OTHERS

Personal tools