Difference between revisions of "Using Backticks"

From Lianjapedia
Jump to: navigation, search
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:
+
Try this in the console:
  
 
'''Windows:'''
 
'''Windows:'''

Revision as of 07:05, 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 in the console:

Windows:

? "Date is `date /t`"

Linux:

? "Date is `date`"