User Guide/STX Console: Difference between revisions

From STX Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 24: Line 24:
;<code>CD /diropt</code>
;<code>CD /diropt</code>
;<code>PWD /diropt</code>: Set the current directory to the path selected by the option ''diropt''.
;<code>PWD /diropt</code>: Set the current directory to the path selected by the option ''diropt''.
:/Work &larrow {{STX}} working directory
:/Work &larr; {{STX}} working directory


;<code>CLS</code>
;<code>CLS</code>

Revision as of 15:48, 20 January 2016

Console dialog.png

The Console is a command line interface to an STx shell. It can be started from the Script Controller or the menu entry "Run > BScript" of the log window.

The Console can
  1. process commands on a line by line basis
  2. process multiple commands pasted from the clipboard
  3. maintain a command history; you can use the up/down keys to navigate to commands and the tab key for command completion
The Console cannot
  1. process STx control commands like IF, FOR, DO, WHILE, BREAK and CONTINUE

Special Commands implemented by the Console Application

CD
PWD
Show the current directory.
result: the full path of the current directory
CD dir
PWD dir
Set the current directory to dir
result: the full path of the current directory or an empty string if the command fails
CD /diropt
PWD /diropt
Set the current directory to the path selected by the option diropt.
/Work ← STx working directory
CLS
CLEAR WINDOW
Clear the console window.
<

CLEAR EXIT LIST LOG LS SETCON STS STX USE


See also

Programmer Guide

Navigation menu

Personal tools