svorgodne Posted October 15, 2014 Share Posted October 15, 2014 and if so... how? Thanks in advance Quote Link to comment Share on other sites More sharing options...
BlackBox Posted October 15, 2014 Share Posted October 15, 2014 LISP does not suffer the benefit of being able to identify the location of where the executing code has been loaded from (the actual .LSP, .FAS, or .VLX file), in the same way a .NET assembly can use: string executingCodeFile = System.IO.Path.GetFileNameWithoutExtension(System.Reflection.Assembly.GetExecutingAssembly().Location); Your best available option, is to assume that the code file resides within the Support File Search Path (SFSP), and query its location by means of the FINDFILE Function... Which also implicitly requires one hard-code a known file name, and file extension as well (or iterate potential values). Cheers Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.