As an example, in a Windows *.bat file use this:
echo "%var%" | clip.exe
pasteclipboard.exe
yournewlispfile.exe
The file yournewlispfile.exe is your newlisp compiled file, which must include these commands:
I know it is a dirty way of doing things, but honestly after struggling with dll's import I failed miserably.
echo "%var%" | clip.exe
pasteclipboard.exe
yournewlispfile.exe
The file yournewlispfile.exe is your newlisp compiled file, which must include these commands:
Code Select
(set 'option (exec "pasteclipboard.exe"))
(set 'myvar(parse (option 0)))
I know it is a dirty way of doing things, but honestly after struggling with dll's import I failed miserably.