I'm a newbie, I'm trying to write some code that will select and run a function from a list of functions
Typically I'm doing something like this:
	 
;; define a list of functions
(set 'funclist '(myfunc myfunc myfunc myfunc myfunc))
;; get and run the nth = 2 item of the list
(println "getting func")
(set 'afunc (funclist 2))
(println "calling func ")
(afunc)
Whatever I try I usully get the following error message:
Quote
calling func
ERR: invalid function : (afunc)
Could anyone explain what I'm, doing wrong?
Thanks.
			 
			
			
				(funclist 2) is the symbol 
Thus, you would need to use 
			
			
				Makes sense. Thanks for that.
			
			
			
				(
I think we could also write: