I am trying to create an assertion (using assert, if, `=cond()', or other) that tests whether the current directory is one of the sysdir directories. This seems simple and straightforward, but I cannot get it to work. As far as I know, the present working directory is only available in the system variable c(pwd) and the PERSONAL directory, for instance, is found in either the system variable c(sysdir_personal) or with the macro function `:sysdir PERSONAL'. Below are examples of what I have tried. As you can see, I've tried several levels of quoting with the various permutations. What am I missing
-
Login or Register
- Log in with

Comment