Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorials:t12 [2019/06/11 15:25] – [Complimentary files] pwarczoktutorials:t12 [2020/07/28 12:14] (current) – [Console] pwarczok
Line 19: Line 19:
   * Evaluating numerical expressions and variables   * Evaluating numerical expressions and variables
   * Defining, using and plotting functions   * Defining, using and plotting functions
 +  * Access to history of typed-in commands
  
  
Line 24: Line 25:
  
 Due to some development activities, the commands are to be typed into the 'MatCalc 5 console' window - this are the lines begining here with 'MCORE:'. The output messages are displayed in the 'console' window, as always. Due to some development activities, the commands are to be typed into the 'MatCalc 5 console' window - this are the lines begining here with 'MCORE:'. The output messages are displayed in the 'console' window, as always.
 +
 +===== Console =====
 +
 +This window allows command-line input, as an alternative to using the graphical controls. Commands can also be grouped into script files, for easier and more rapid execution of repetitive or complex tasks. The console can be shown or hidden with one of the following alternatives:
 +
 +  * using **View > Show > Show console**
 +{{:tutorials:t1:img:t1_menu_show_console_6031000.png| Show console in MatCalc menu}}
 +  * pressing the **'F4'** key 
 +  * clicking on the {{:tutorials:t1:img:t1_icon_show_console.png| MatCalc Icon show console}} icon in Toolbar. 
 +
 +MatCalc 6 uses a new formalism for the command-line input. While commands used in the scripts for the older versions are recognized by the current version, the old command formalism is to be typed in **'MatCalc 5 console'** window. 
 +
 +
  
 ===== Basics ===== ===== Basics =====
Line 441: Line 455:
    
 The next tutorial discusses the use of command-lines in scripts to facilitate repetitive or complex tasks. The next tutorial discusses the use of command-lines in scripts to facilitate repetitive or complex tasks.
 +
 +
 +===== Command history window =====
 +
 +The command history window can be made to appear by selecting the console window and either clicking on the up-arrow icon or  pressing **Ctrl + up-arrow**. This window gives a chronological list of all the commands entered in the console.
 +
 +{{:tutorials:t1:img:t1_command_history_window_2016.png| MatCalc command history window}}
 +
 +A command can be selected using the mouse pointer or arrow keys. Right-clicking on the command displays the following menu. On the right-hand side of the menus in MatCalc are keyboard shortcuts for the more commonly used commands. It can be seen from the image below that it is sufficient to press the **Enter** key to execute the selected command.
 +
 +{{:tutorials:t1:img:t1_command_history_menu_2013.png| MatCalc command history menu}}
 +
 +Previously used commands can also be accessed in the Console window itself; pressing the up-arrow key displays the most recently entered command, and pressing it repeatedly scrolls through recent commands in reverse chronological order. The command displayed can be edited then executed by pressing the **Enter** key.
  
  
tutorials/t12.1560259528.txt.gz · Last modified: 2019/06/11 15:25 by pwarczok
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki