回想一下,我们还提到过可以“导出”变量。
Recall that we also mentioned that we can "export" variables.
需要对其他的环境变量进行导出、或使得它们全局可用,并将它们复制到从命令行中启动的每个命令的进程空间(即环境)。
Other environment variables are exported, or made globally available, and are copied into the process space (the environment) of every command you launch from the command line.
当导出环境变量时,它可以自动地由以后运行的任何脚本或可执行程序环境使用。
When we export an environment variable, it's automatically available in the environment of any subsequently-run script or executable.
请注意,消息部分的名称对于非接口类型的单个部分的消息也是必需的,并且可以按照第2部分中的描述从变量WSDL描述中推导出来。
Be aware that the message part is mandatory for single part but interface typed messages as well, and can be deduced from the variable WSDL description as described in part 2.
第一点,要从一个dll中导出任何函数、变量、或者类,都需要使用Windows特定的语法__declspec (dllexport)。
First, the Windows-specific syntax, __declspec (dllexport), is needed to export any functions, variables, or classes from a DLL.
对于上面的案例研究,当导出the LDR_CNTRL变量时,应用程序开始使用大页面。
In the above case study, when the LDR_CNTRL variable was exported, the application started making use of large pages.
当在bash中“导出”环境变量时,以后运行的任何程序,不管是不是shell脚本,都可以读取设置。
When we "export" an environment variable under bash, any subsequent program that we run can read our setting, whether it is a shell script or not.
到这时,用户可以编写shell脚本,在变量中存储信息和导出信息,控制文件描述符,控制信号处理,使用for循环和case语句,以及其他大量功能。
Now, users could write shell scripts; store and export information in variables; control file descriptors; control signal handling, for loops, and case statements; and so much more.
allexport:自动导出所有定义的后续变量。
Allexport: export all defined subsequent variables automatically.
虽然希望myenv打印值“xemacs ”,但是因为还没有导出环境变量,所以它却没有很好地工作。
While you might have expected myenv to print the value "xemacs", it didn't quite work, because we didn't export the EDITOR environment variable. This time, we'll get it working.
虽然任何科学专业的新手都知道,你不能把“50米/秒”和“30秒”相乘来推导出一个单位是“kg-meters/second”的变量,但是大多数编程语言却不是这样聪明。
While any freshman science major knows you cannot multiply "50 meters per second" by "30 seconds" and shove it a variable expecting "kg-meters/second", most programming languages aren't so smart.
这是基本的部分;它声明了程序需要Perl 5.006 来解释执行,要求进行严格的变量检查和警告,还有我们将要导出 invlist() 和 data_from_invlist()函数。
This is basic bookkeeping; it states that we require Perl 5.006, that we like to use strict variable checking and warnings, and that we will export the invlist() and data_from_invlist() functions.
用变量名导出DISTCC_HOSTS环境变量。
Export the DISTCC_HOSTS environment variable with their names.
本文从理论上阐明用不变量导出的相对稳定度函数或其比值作为点在基准中的份量是符合对基准选择之要求的。
This paper expounds in theory that, we may use the relative stability or their ratio caused by UNVARIABLE as the proportion of the point on datum, which accords with the demands for choice of datum.
根据斜轧特点,利用坐标变换和变量代换方法,导出了两种计算任何斜轧辊形的公式。
Two formulas for calculating any roll configurations of a rolling mill are derived by means of coordinate transformation and variable replacement from the cross rolling characteristics.
首先,导出了用极坐标系描述的中厚板自由振动板的微分方程,用分离变量法求得其一般解。
Firstly, the expressions of free vibration of moderately thick plates in polar coordinates are derived and the general solutions are obtained by the means of method of separation of variables.
利用分离变量方法导出了在混合边界条件下的非齐次分数阶扩散-波动方程的解析解。
We derive the analytic solution of the non-homogeneous fractional diffusion-wave equation under the mixed boundary conditions using the method of separation of variables.
文中介绍了扇面直波导及其腔体中电矢量位和磁矢量位的格林函数,采用分离变量法、傅里叶变换法和留数定理导出了格林函数的具体表达式。
The Green's functions for electric and magnetic vector potentials in a sectoral wave guide and its cavity are derivated by using the separation of variables, Fourier transform and residue theory.
应用变量代换的方法,导出了中心力场中势函数不同的薛定谔方程解的对应关系。
By using a method of changing variables, a relationship of solutions between Schrodinger equations for different potential functions in central field is obtained.
从结构振动的瑞利商表达式出发,利用区间运算推导出结构特征值模糊变量的计算表达式。
From the Rayleigh quotient of structural vibration, the computation expression of fuzzy variable of structural characteristic is obtained on the basis of the principles of interval arithmetic.
本文导出了基于对象CARMA模型的多变量广义预测自适应控制器,并将这种新的控制方法应用于航天器轨道控制中。
It is presented in this paper a multivariable generalized predictive adaptive controller based on CARMA model and its application in the orbit control of spacecraft.
本文导出的熵变量形式QPNS方程具有对称性和自动满足热力学第二定律,这将提高解的稳定性。
The QPNS equations in entropy variables derived in the present paper have the symmetrization and satisfy the second law of thermodynamics automatically that can improve the stability of the solution.
导出了多变量控制系统的标准化系统矩阵向量方程。
The standard system matrix vector equations on multi-variable control system are educed.
本文利用变量代换法导出了向无损耗空间辐射的,尺寸相同和不相同的平面缝隙辐射元互导纳的通用计算公式。
General formulas are derived for calculating mutual admittance of planar slots radiating into a lossless space by making use of change of variables.
以平均涡量作为液体的离散化变量,导出解析形式稳定性判据,并用于讨论充液自旋弹丸。
The average vortex is used as a discretized variable of the liquid. A stability criterion in analytic form is derived and used to discuss the spinning projectile containing liquid charge.
利用变量分离法推导出桥模式RFMEMS开关的频率方程组。
The frequency equation of RF MEMS switches was derived by separation of variable.
在一般化的意义上,给出了连续问题及其相应的离散形式。引入伴随变量,并由此导出伴随方程。
In a general case, the continuous problem and corresponding discrete form are formulated, in which the so called adjoint variable is introduced and then the adjoint equation is derived.
在确定了设计变量及目标函数的基础上,根据结构本身的要求,推导出用于多目标优化的五个约束条件。
After determining the designed variables and objective functions, five restraining conditions for multiple objectives optimization are derived from its own structure.
构建了区间参数杆系结构在区间荷载作用下的分析模型,导出了结构的区间位移和区间应力响应区间变量表达式。
The finite element analysis of truss system with interval parameters under interval load is studied and the structural interval displacement and stress response are deduced.
构建了区间参数杆系结构在区间荷载作用下的分析模型,导出了结构的区间位移和区间应力响应区间变量表达式。
The finite element analysis of truss system with interval parameters under interval load is studied and the structural interval displacement and stress response are deduced.
应用推荐