Skip to content

Commit

Permalink
si:getenv の setf 可能なことをリファレンスに追加 (#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
x022235 committed Aug 2, 2012
1 parent c763ef6 commit 3c01c53
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions reference/reference.xml
Expand Up @@ -26583,6 +26583,14 @@ Base64エンコードします。
;;; 環境変数PATHを取り出して、個々のPATHに分割する。
(split-string (si:getenv "PATH") #\;)
=> ("c:\\usr\\local\\bin" "C:\\WINNT\\system32" "C:\\WINNT" ...)

(setf (si:getenv "FOO") "BAR")
=> "BAR"
(si:getenv "FOO")
=> "BAR"

補足:
xyzzy 0.2.2.243 からsetf可能です。
</description>
<seealso>user-name</seealso>
<seealso>machine-name</seealso>
Expand Down

0 comments on commit 3c01c53

Please sign in to comment.