yntcsb 发表于 2013-2-5 01:44:28

tango.sys.Environment 翻译

tango.sys.Environment

License:
BSD style: see license.txt
Version:
Feb 2007: Initial release
Author:
Deewiant, Maxter, Gregor, Kris
struct Environment ¶# 展示系统环境设置,连同一些简单的实用程序。 void exception(char[] msg) ¶# 抛出一个异常。 FilePath exePath(char[] file) ¶# 返回提供的可执行程序文件的完整路径位置,视情况通过PATH。 如果提供的文件名没有找到返回null。 char[] get(char[] variable, char[] def = null) ¶# 如果变量不存在返回提供的'def'值。 void set(char[] variable, char[] value = null) ¶# 如果值为null或空就清除变量。 char[]] get() ¶# 以一个关联数组获得所有环境变量。 void cwd(char[] path) ¶# 设置当前工作目录。 char[] cwd() ¶# 获得当前工作目录。<div style="background: #eeffee;">Copyright (c) 2007 Tango. All rights reserved :: Generated by dil on Fri Jul 17 18:19:27 2009. Rendered by kandil.
页: [1]
查看完整版本: tango.sys.Environment 翻译