User Guide/STX Console: Difference between revisions

From STX Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 14: Line 14:
===Special Commands implemented by the Console Application===
===Special Commands implemented by the Console Application===


;<code>CD</code> or <code>PWD</code>: show the current directory
;<code>CD</code>
:result: current directory
;<code>PWD</code>: Show the current directory.
:'''result''': the full path of the current directory


;<code>CD dir</code> or <PWD> dir</code>: set the current directory to '''dir'''
;<code>CD dir</code>
:result: the new current directory or an empty string if the command fails
;<code>PWD dir</code>: Set the current directory to ''dir''
:'''result''': the full path of the current directory or an empty string if the command fails


;<code>CD /diropt</code>
;<code>PWD /diropt</code>: Set the current directory to the path selected by the option ''diropt''.
:/Work &larrow {{STX}} working directory


;<code>CLS</code>
;<code>CLEAR WINDOW</code>: Clear the console window.


: exit
;<
: cls|clear
 
: cd
CLEAR
: pwd
EXIT
: ls
LIST
: log
LOG
: list
LS
: setcon
SETCON
: stx
STS
: sts
STX
: use
USE





Revision as of 15:42, 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 &larrow 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