Difference between revisions of "Category:Command Window CLI"

From Lianjapedia
Jump to: navigation, search
Line 20: Line 20:
  
 
The contents of the command window are saved when you exit the App Builder and restored when you run it again.
 
The contents of the command window are saved when you exit the App Builder and restored when you run it again.
 
All Lianja/VFP [[:Category:Commands|commands]] and [[:Category:Functions|functions]] can be used in the Lianja/VFP Command Window apart from [[:Category:Looping Commands|flow control and looping commands]] and others that form a begin...end statement block.
 
  
 
<div style="height:80px;margin-bottom:5px;padding:5px;border:0px solid orange;border-left:5px solid orange;background:#fff8dc;vertical-align:middle;position:relative;">
 
<div style="height:80px;margin-bottom:5px;padding:5px;border:0px solid orange;border-left:5px solid orange;background:#fff8dc;vertical-align:middle;position:relative;">
Line 30: Line 28:
 
</div>
 
</div>
  
Note also:
+
All Lianja/VFP [[:Category:Commands|commands]] and [[:Category:Functions|functions]] can be used in the Lianja/VFP Command Window apart from [[:Category:Looping Commands|flow control and looping commands]] and others that form a begin...end statement block.
 +
 
 +
Note:
 
* The semi-colon ';' line continuation character is not supported.
 
* The semi-colon ';' line continuation character is not supported.
 +
 +
<div style="height:80px;margin-bottom:5px;padding:5px;border:0px solid orange;border-left:5px solid orange;background:#fff8dc;vertical-align:middle;position:relative;">
 +
[[File:bm-noteicon.png|top|40px|link=]]<div style="position:absolute;top:3px;margin-bottom;bottom:5px;margin-left:50px;"><b> Pro Tip</b>
 +
Press Alt-e to open a Lianja.VFP Command editor window.  This allows you to type multiple line commands and/or commands with line continuation characters and run them.
 +
</div>
 +
</div>
 +
 +
Note:
 
* [[&]] macro substitution is supported from v4.1.
 
* [[&]] macro substitution is supported from v4.1.
  

Revision as of 07:17, 29 October 2019

Bm-noteicon.png
Quick Start Guide

Select Command Window from the Window menu in the system MenuBar at the top.
The Command Window will popup on top of the main App Builder Window.
It will stay "on top" even in the runtime view.
The CodeAssistant for Lianja/VFP is there to help you be more productive.


Bm-workspaces.png

You can type Lianja/VFP, JavaScript, Python or PHP commands directly into the Command panel and see the output in the Output panel.

You can delete text by pressing ESC if you haven't already pressed ENTER to execute the command.

You can re-execute a previous command by navigating up to it in the command history using the Up and Down arrow keys or placing the cursor anywhere on the command line, and then pressing ENTER.

The contents of the command window are saved when you exit the App Builder and restored when you run it again.

Bm-noteicon.png
Pro Tip

As a power user you can create, edit, compile and run script files in the command window.
ed filename.ext

All Lianja/VFP commands and functions can be used in the Lianja/VFP Command Window apart from flow control and looping commands and others that form a begin...end statement block.

Note:

  • The semi-colon ';' line continuation character is not supported.
Bm-noteicon.png
Pro Tip

Press Alt-e to open a Lianja.VFP Command editor window. This allows you to type multiple line commands and/or commands with line continuation characters and run them.

Note:

  • & macro substitution is supported from v4.1.
Bm-noteicon.png

You can view the documentation page for any Lianja/VFP command or function like this:
help commandname
help functionname()