We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
变量扩充
变量扩展
Finally, support for delayed environment variable expansion has been added.
终于添加了延迟环境变量扩充的支持。
If delayed variable expansion is enabled, the above examples could be written as follows to work as intended
如果延迟的变量扩充被启用,可以将上面例子写成以下所示,以达到预期效果:
Delayed environment variable expansion allows you to use a different character (the exclamation mark) to expand environment variables at execution time.
延迟环境变量扩充允许您使用一个不同的字符(惊叹号)在执行时间扩充环境变量。
Delayed environment variable expansion is useful for getting around the limitations of the current expansion which happens when a line of text is read, not when it is executed.
考虑到读取一行文本时所遇到的目前扩充的限制时,延迟环境变量扩充是很有用的,而不是执行的时候。
Youcan enable or disable delayed environment variable expansion for aparticular invocation of CMD.EXE with the/V:ON or/V:OFF switch.
" /"on a line by itself marks the end of the variable expansion naming. The next line is the first line that will be repeated using the named rules.
一行上的" /" 本身标志着变量扩展命名的结束。下一行是将使用命名规则重复的第一行。
KraussMaffei Berstorff single-screw extruders feature a simple and robust machine construction, low need for maintenance, highest torques, and free structuring of the procedure part. Thanks to their variable expansion options, the single-screw extruders are used worldwide for a wide variety of process tasks. Thus outstanding outputs and dimensions were achieved with the KE single-screw extruder.
If the length is not specified, then it defaults to theremainder of the variable value. If either number (offset or length) isnegative, then the number used is the length of the environment variablevalue added to the offset or length specified. %PATH:~-10%would extract the last 10 characters of the PATH variable. %PATH:~0,-2%would extract all but the last 2 characters of the PATH variable.Finally, support for delayed environment variable expansion has been added.
Non-Fortran files use a separate syntax for defining template blocks that should be repeated using a variable expansion similar to the named repeat rules of the Fortran-specific repeats.
Similarly, the following examplewill not work as expected: set LIST= for %i in ( ) do set LIST=%LIST i echo %LIST%in that it will NOT build up a list of files in the current directory, but instead will just set the LIST variable to the last file found.Again, this is because the %LIST% is expanded just once when theFOR statement is read, and at that time the LIST variable is empty.So the actual FOR loop we are executing is: for %i in ( ) do set LIST= %iwhich just keeps setting LIST to the last file found.Delayed environment variable expansion allows you to use a differentcharacter (the exclamation mark) to expand environment variables atexecution time.
同样,以下这个例子也不会达到预期效果: set LIST= for %i in ( ) do set LIST=%LIST i echo %LIST%原因是,它不会在目前的目录中建立一个文件列表,而皇墙?LIST 变量设成找到的最后一个文件。 这也是因为 %LIST% 在FOR 语句被读取时,只被扩充了一次;而且,那时的 LIST 变量是空的。 因此,我们真正执行的 FOR 循环是: for %i in ( ) do set LIST= %i这个循环继续将 LIST 设成找到的最后一个文件。
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.