Skip to content

Commit

Permalink
First stab at $*CUSTOM-LIB.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed Oct 15, 2012
1 parent 960f328 commit 0d2a99e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/Builtins.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2569,6 +2569,7 @@ [ImplicitConsts] public static Variable sysquery(Constants c, int ix) {
}
case 5: return MakeStr(Environment.OSVersion.Platform.ToString());
case 6: return MakeStr(Environment.OSVersion.Version.ToString());
case 7: return MakeStr(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData).ToString());
default: return null;
}
}
Expand Down
1 change: 1 addition & 0 deletions lib/CORE.setting
Original file line number Diff line number Diff line change
Expand Up @@ -4028,6 +4028,7 @@ INIT {
$PROCESS::BASE_DIRECTORY ::= Q:CgOp { (sysquery (i 3)) };
$PROCESS::OS ::= Q:CgOp { (sysquery (i 5)) };
$PROCESS::CWD ::= Q:CgOp { (box Str (cwd_path)) };
$PROCESS::CUSTOM-LIB ::= Q:CgOp { (sysquery (i 7)) } ~ "/niecza" ;
@GLOBAL::INC = ();
}
# }}}
Expand Down

0 comments on commit 0d2a99e

Please sign in to comment.