Difference between revisions of "Using Backticks"

From Lianjapedia
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
Lianja/VFP provides tight integration with the command shell. The ` ... ` command sequence (backticks) can be used to run external shell commands that are piped together and to substitute the output into a Lianja character string.
 
Lianja/VFP provides tight integration with the command shell. The ` ... ` command sequence (backticks) can be used to run external shell commands that are piped together and to substitute the output into a Lianja character string.
  
Try this is the console:
+
<div style="height:40px;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;">
 +
For security reasons backticks are disabled in the Cloud Server.
 +
</div>
 +
<span style="height:6px;"> </span>
 +
</div>
 +
 
 +
Try this in the console:
 +
 
 +
'''Windows:'''
 +
 
 +
<code lang="recital">
 +
? "Date is `date /t`"
 +
</code>
 +
 
 +
'''Linux:'''
  
 
<code lang="recital">
 
<code lang="recital">

Latest revision as of 07:09, 8 January 2018

Lianja/VFP provides tight integration with the command shell. The ` ... ` command sequence (backticks) can be used to run external shell commands that are piped together and to substitute the output into a Lianja character string.

Bm-noteicon.png

For security reasons backticks are disabled in the Cloud Server.

Try this in the console:

Windows:

? "Date is `date /t`"

Linux:

? "Date is `date`"