Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AI-CogSci-Group
ACT-R_Phi
Commits
b94e8e8d
Commit
b94e8e8d
authored
Oct 25, 2020
by
Chris Dancy
Browse files
Change to test something with linix Phys Module
parent
9631c894
Changes
1
Hide whitespace changes
Inline
Side-by-side
user-loads/Physiology_thread.lisp
View file @
b94e8e8d
...
@@ -68,10 +68,10 @@
...
@@ -68,10 +68,10 @@
;;;Custom Physiology Function Section
;;;Custom Physiology Function Section
;;HumMod Directory variable
;;HumMod Directory variable
#+
:windows
(
defvar
*HumModDir*
(
subseq
(
namestring
*LOAD-TRUENAME*
)
0
(
search
(
file-namestring
*LOAD-TRUENAME*
)
(
namestring
*LOAD-TRUENAME*
))))
#+
:windows
(
defvar
*HumModDir*
(
subseq
(
namestring
*LOAD-TRUENAME*
)
0
(
search
(
file-namestring
*LOAD-TRUENAME*
)
(
namestring
*LOAD-TRUENAME*
))))
#+
:linux
(
defvar
*HumModDir*
(
subseq
(
namestring
*LOAD-TRUENAME*
)
0
(
search
(
file-namestring
*LOAD-TRUENAME*
)
(
namestring
*LOAD-TRUENAME*
))))
#+
:linux
(
defvar
*HumModDir*
(
substitute
#\\
#\/
(
subseq
(
namestring
*LOAD-TRUENAME*
)
0
(
search
(
file-namestring
*LOAD-TRUENAME*
)
(
namestring
*LOAD-TRUENAME*
)))
:from-end
t
:count
1
))
;
(subseq (namestring *LOAD-TRUENAME*) 0 (search (file-namestring *LOAD-TRUENAME*) (namestring *LOAD-TRUENAME*))))
#+
:darwin
(
defvar
*HumModDir*
(
substitute
#\\
#\/
(
subseq
(
namestring
*LOAD-TRUENAME*
)
0
(
search
(
file-namestring
*LOAD-TRUENAME*
)
(
namestring
*LOAD-TRUENAME*
)))
:from-end
t
:count
1
))
#+
:darwin
(
defvar
*HumModDir*
(
substitute
#\\
#\/
(
subseq
(
namestring
*LOAD-TRUENAME*
)
0
(
search
(
file-namestring
*LOAD-TRUENAME*
)
(
namestring
*LOAD-TRUENAME*
)))
:from-end
t
:count
1
))
(
format
t
"+++++++++~&~s~&++++++----+++++"
(
substitute
#
\ #\/
(
subseq
(
namestring
*LOAD-TRUENAME*
)
0
(
search
(
file-namestring
*LOAD-TRUENAME*
)
(
namestring
*LOAD-TRUENAME*
)))
:from-end
t
:count
1
))
;
(format t "+++++++++~&~s~&++++++----+++++" (substitute #\
\
#\/ (subseq (namestring *LOAD-TRUENAME*) 0 (search (file-namestring *LOAD-TRUENAME*) (namestring *LOAD-TRUENAME*))) :from-end t :count 1))
;;We use this so we have a reference to the next update-event that is scheduled to be run
;;We use this so we have a reference to the next update-event that is scheduled to be run
(
defvar
*nextUpdateEvent*
nil
)
(
defvar
*nextUpdateEvent*
nil
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment