Message 1 of 9

Not applicable
03-31-2016
11:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Teaching myself lisp and sometimes I find myself writing 2 or more lines of the same code with the only difference being a function name. Is it possible to supply a function name as an argument to another function?
Ex: If I write 2 functions, "Xval" that returns the X value and "Yval" that returns the Y value, is it possible to supply "Xval" or "Yval" as an argument to another function whose operation uses either the X or Y value depending on the circumstances?
Thanks,
Solved! Go to Solution.