Jump to content

Cheatsheet/TACL: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Tacl Cheatsheet==
== Tacl Cheatsheet ==


=== Commands ===
{| class="wikitable" <!--style="white-space: nowrap;"-->
{| class="wikitable" <!--style="white-space: nowrap;"-->
|+ TACL Basic Commands
|+ some often used TACL Commands
|-
|-
! Command
! Command
Line 65: Line 66:
|}
|}


=== Tools ===
{| class="wikitable"
|+ Often used Tools
|-
! Command
! [[File:Gnu-bash-logo.svg|40px]]
! [[File:Windows icon.svg|20px]] cmd
! [[file:Windows icon.svg|20px]] PowerShell
! Description
|-
| '''{{kbd|SYSINFO}}''' || {{code|inline=y|cat /etc/*-release}} || {{code|inline=y|systeminfo}} || {{code|inline=y|systeminfo}}
| Lists operating system version and some hardware details
|-
| '''{{kbd|EDIT}}''' || {{n/a}} || {{n/a}} || {{n/a}}
| Text Editor (linemode)
|-
| '''{{kbd|FUP}}''' || {{n/a}} || {{n/a}} || {{n/a}}
| File Utility Program
|-
| '''{{kbd|PATHCOM}}''' || {{n/a}} || {{n/a}} || {{n/a}}
| Pathway Command Interface
|-
| '''{{kbd|PERUSE}}''' || {{n/a}} || {{n/a}} || {{n/a}}
| Spooler Interface
|-
| '''{{kbd|SCF}}''' || {{n/a}} || {{n/a}} || {{n/a}}
| Subsystem Control Facility
|-
| '''{{kbd|SCUP}}''' || {{n/a}} || {{n/a}} || {{n/a}}
| Screen Cobol Utility Progrem
|-
| '''{{kbd|SPOOLCOM}}''' || {{n/a}} || {{n/a}} || {{n/a}}
| Spooler Interface
|-
| '''{{kbd|SQLCI}}''' || {{n/a}} || {{n/a}} || {{n/a}}
| SQL Command Interface
|-
| '''{{kbd|TEDIT}}''' || {{code|inline=y|nano}} || {{code|inline=y|edit}} || {{code|inline=y|edit}}
| Text Editor (blockmode)
|-
| '''{{kbd|TMFCOM}}''' || {{n/a}} || {{n/a}} || {{n/a}}
| TMF Command interface
|-
| '''{{kbd|VIEWPT}}''' || {{n/a}} || {{n/a}} || {{n/a}}
| Display logged messages
|}

=== Meta Characters ===
{| class="wikitable"
|+ Meta Characters
|-
! Character !! verbal Names ||Description
|-
| * || Example || Example || Any Character(s)
|-
| ? || Example || Example || One Character
|-
| '''{{kbd|<nowiki>==</nowiki>}}''' || Double equal signs || Specifies a comment from the equal signs to EOL
|-
| '''{{kbd|[ ]}}''' || Square brackets || Cause TACL to expand the enclosed text
|-
| '''{{kbd|<nowiki>{ }</nowiki>}}'''|| Pair of braces || Specifies a label; used in #CASE, #DEF, #IF, and #LOOP functions
|-
| '''{{kbd|<nowiki>| |</nowiki>}}'''|| Pair of vertical lines || Specifies a label; used in #CASE, #DEF, #IF, and #LOOP functions
|-
| '''{{kbd|<nowiki>~</nowiki>}}''' || Tilde || Changes the interpretation of the next character (or in the case of double equal signs two characters)
|}

=== Separators ===
{| class="wikitable"
|+ Separators
|-
! Character !! verbal Names ||Description
|-
| '''{{key press|space bar}} || Space ||
|-
| '''{{key press|,}} || Comma ||
|-
| '''{{key press|(}}''' || Left&nbsp;Parenthesis ||
|-
| '''{{key press|)}}''' || Right&nbsp;Parenthesis ||
|-
| '''{{key press|/}}''' || Slash ||
|-
| '''{{key press|semicolon}}'''|| Semicolon ||
|-
| '''{{key press|enter}}''' || carriage&nbsp;return|| Physical EOL
|-
| '''{{key press|~;}}''' || Tilde&nbsp;Semicolon|| Logical EOL
|-
| '''{{key press|&}} || Ampersand
| An ampersand {{kbd|&}} at the end of a line of TACL commands or function calls signals that the line continues on the next physical line. This continuation applies to executable statements and comments, with two exceptions:
* TACL does not interpret data transmitted by a process or file opened using #REQUESTER or #SERVER; any special characters are treated as text. If you receive a line that contains an ampersand, TACL does not view the ampersand as a continuation character.
*You cannot use the continuation character with a TACL directive (a line beginning with a question mark).
|}
=== Wildcards ===
{| class="wikitable"
|+ Wildcards
|-
! Header text !! Header text !! Header text
|-
| '''{{kbd|?}}''' || Matches any single character || Example
|-
| '''{{kbd|*}}''' || Matches any number of characters, including none || Example
|-
| '''{{kbd|{{=}}*}}''' or '''{{kbd|**}}''' || Matches any number of characters for Definenames || Example
|}

=== Operators ===
{| class="wikitable"
|+ Operators
|-
! Op !! Name !! Type
|-
| '''{{kbd|NOT}}''' || NOT || Logical
|-
| '''{{kbd|AND}}''' || AND || Logical
|-
| '''{{kbd|OR}}''' || OR || Logical
|-
| '''{{kbd|*}}''' || Multiplication || Arithmetic
|-
| '''{{kbd|/}}''' || Division || Arithmetic
|-
| '''{{kbd|+}}''' || Addition || Arithmetic
|-
| '''{{kbd|-}}''' || Subtraction || Arithmetic
|-
| '''{{kbd|>}}''' || Greater then || Arithmetic Comparison
|-
| '''{{kbd|<}}''' || Less then || Arithmetic Comparison
|-
| '''{{kbd|>{{=}}}}''' || Greater then or Equal || Arithmetic Comparison
|-
| '''{{kbd|<{{=}}}}''' || Less then or Equal || Arithmetic Comparison
|-
| '''{{kbd|{{=}}}}''' || Equal to || Arithmetic Comparison
|-
| '''{{kbd|<>}}''' || Not Equal || Arithmetic Comparison
|-
| '''{{kbd|'+'}}''' || Concatenation || String
|-
| '''{{kbd|'>'}}''' or {{kbd|'!>'}} || Greater then || String Comparison
|-
| '''{{kbd|'<'}}''' or {{kbd|'!<'}} || Less then || String Comparison
|-
| '''{{kbd|'>{{=}}'}}''' or {{kbd|'!>{{=}}'}} || Greater then or Equal || String Comparison
|-
| '''{{kbd|'<{{=}}'}}''' or {{kbd|'!<{{=}}'}} || Less then or Equal || String Comparison
|-
| '''{{kbd|'{{=}}'}}''' or '''{{kbd|'!'}}''' || Equal to || String Comparison
|-
| '''{{kbd|'<>'}}''' or '''{{kbd|'!<>'}}''' || Not Equal to || String Comparison
|}

==Other Cheatsheets==
<categorytree mode="pages">Cheatsheets</categorytree>


<noinclude>[[Category:Cheatsheets]]</noinclude>
<references/>