无与伦比的恩惠

Tuesday, October 15, 2013

TACL Command

with 0 Comment

The use of commands is the simplest interactive use of TACL.
Predefined commands of TACL such as:

RUN                    Runs a process
STATUS              Displays information about one or more running processes
ENV and WHO    Describes your TACL environment
FUP                    To start a process, and type the program name, to invoke the program. 

User can include user-defined commands if you or your system manager define them. 

TACL Metacharacters

Square Brackets ([ ])

You can enclose var1 in square brackets to obtain the contents of var1 or you can omit the brackets to obtain the text var1:

12> #OUTPUT [var1]
3
13> #OUTPUT var1
var1

** However, when you supply a variable name as an argument to one of these commands or built-in functions (#IF #COMPUTE), you do not need to enclose a variable name in square brackets.

Tilde (~)
The tilde is used in combination with another character:

~; simulates an end-of-line character。
~_ represents a space character when #OUTFORMAT is set to PRETTY.
 TACL replaces the combination of a tilde and a metacharacter with the metacharacter itself. For example, ~[ becomes [, and ~== becomes ==.
 TACL replaces the combination of a tilde and a character that is not a metacharacter with a single question mark. For example, ~A becomes ?

Question Mark (?)
TACL uses the question mark character for two purposes:

- Displaying previous command lines
- Specifying the start of a TACL directive

To start a line with a question mark for any other purpose, use two question marks. TACL then discards the first question mark and any adjacent spaces and treats the remainder of the line as text.

0 comments :

Post a Comment

Life is Good

Life is Good

Vietnam Coffee lover 2014

Vietnam Coffee lover 2014

Love angel in Perhentian 2014

Love angel in Perhentian 2014

First Marathon Hwaiting 2014

First Marathon Hwaiting 2014

Penang Art Street 2014

Penang Art Street 2014

Legoland Johor Bahru 2013

Legoland Johor Bahru 2013

Mt.Kinabalu I made it! 2013

Mt.Kinabalu I made it! 2013

KLCC tower 2013

KLCC tower 2013

Romance about wedding 2012

Romance about wedding 2012

Korean Traditional 한복 2010

Korean Traditional 한복 2010

Autumn in my heart 2010

Autumn in my heart 2010