Jump to content

Recommended Posts

Posted

One more question,

 

when you run the dir is not also included the uu(LSP).LSP file?

It is in the same directory, truth?

  • Replies 24
  • Created
  • Last Reply

Top Posters In This Topic

  • hosyn

    14

  • hmsilva

    10

  • BIGAL

    1

Posted

yes , it is no problem , and can be in root directory

and consist of the all of the name lisp file

if it is in same directory added 1 line to uu(LSP).LSP for loading itself and i think no problem for loading ,and if mismatching in the load we can embed it another locathion

Posted

OK, try

(vl-load-com)
(if (setq a (vl-directory-files "C:/lsp--------hlsp" "*.lsp"))
   (progn
     (setq b (open "C:/lsp--------hlsp/uu(LSP).LSP" "w"))
     (foreach c a
   (if (not (wcmatch c "uu(LSP).LSP"))
     (progn
       (setq d (strcat "(load " (chr 34) "C:/lsp--------hlsp/"  c (chr 34) " " (chr 34) "MyLISP Failed to Load" (chr 34)")"))
       (write-line d b)
     );; progn
     );; if
     );; foreach
     (close b)
     (load "C:/lsp--------hlsp/uu(LSP).LSP" "MyLISP Failed to Load")
   );; progn
 );; if

HTH

Henrique

Posted

wooooooooooooowwwwwwwww:D:):D

You're Greattttttttttt Lisp programmer

I don't know how i can explain thanxxxxxxxxxxx you:lol:;)

Posted

You're welcome, hosyn

Glad I could help

 

 

Henrique

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...