Difference between revisions of "SubL Functions"

From Public Domain Knowledge Bank
Jump to: navigation, search
(Created page with "SubL Functions are basically Lisp Functions. For example you can retrieve their values with the symbol-value function. CYC(n): (symbol-value '*the-cyclist*) [Time:...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
SubL Functions are basically Lisp Functions.
+
SubL Functions are basically Lisp Functions. see https://www.tutorialspoint.com/lisp/lisp_variables.htm
  
 
For example you can retrieve their values with the [[symbol-value]] function.
 
For example you can retrieve their values with the [[symbol-value]] function.
  
  CYC(n): (symbol-value '[[*the-cyclist*]])
+
  CYC(n): ([[symbol-value]] '[[*the-cyclist*]])
 
  [Time: 26.965 µsecs]
 
  [Time: 26.965 µsecs]
  #$DavidWhitten
+
  [[#$DavidWhitten]]

Latest revision as of 16:19, 28 September 2016

SubL Functions are basically Lisp Functions. see https://www.tutorialspoint.com/lisp/lisp_variables.htm

For example you can retrieve their values with the symbol-value function.

CYC(n): (symbol-value '*the-cyclist*)
[Time: 26.965 µsecs]
#$DavidWhitten