Difference between revisions of "Using Backticks"

From Lianjapedia
Jump to: navigation, search
Line 2: Line 2:
  
 
Try this is the console:
 
Try this is the console:
 +
 +
'''Windows:'''
 +
 +
<code lang="recital">
 +
? "Date is `date /t`"
 +
</code>
 +
 +
'''Linux:'''
  
 
<code lang="recital">
 
<code lang="recital">

Revision as of 06:53, 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.

Try this is the console:

Windows:

? "Date is `date /t`"

Linux:

? "Date is `date`"