stusic
2016-03-28, 09:47 PM
I'm trying to compile a vlx file but run into the title error message when I'm adding the following subroutine to the list of dependant files to be compiled. I can't see anything wrong with it and it runs fine when I run it after loading the source files from my project. Any ideas?
Thanks for any help :beer:
(defun _implode (data delim / str n)
(if (and (= (type data) 'LIST)
(= (type delim) 'STR)
(> (strlen delim) 0)
)
(foreach n data
(if str
(setq str (strcat str delim n))
(setq str n)
)
)
)
)
Thanks for any help :beer:
(defun _implode (data delim / str n)
(if (and (= (type data) 'LIST)
(= (type delim) 'STR)
(> (strlen delim) 0)
)
(foreach n data
(if str
(setq str (strcat str delim n))
(setq str n)
)
)
)
)