Описание тега jacl
Jacl
Jacl is an alternate implementation of TCL, and is written entirely in Java code.
The wsadmin tool uses Jacl V1.3.1.
Basic syntax: The basic syntax for a Jacl command is the following:
Command arg1 arg2 arg3 ...
The command is either the name of a built-in command or a Jacl procedure. For example:
puts stdout {Hello, world!}
=> Hello, world!
In this example, the command is puts which takes two arguments, an I/O stream identifier and a string. The puts command writes the string to the I/O stream along with a trailing new line character. The arguments are interpreted by the command. In the example, stdout
is used to identify the standard output stream. The use of stdout
as a name is a convention employed by the puts command and the other I/O commands. stderr
identifies the standard error output, and stdin
identifies the standard input.