Difference between revisions of "SubL Functions"

From Public Domain Knowledge Bank
Jump to: navigation, search
 
Line 3: Line 3:
 
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