<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh">
		<id>https://zh-cn.arcowiki.com/index.php?action=history&amp;feed=atom&amp;title=%E4%BD%BF%E7%94%A8DMIS%E4%BB%A3%E7%A0%81%E5%8F%91%E9%80%81%E5%8F%98%E9%87%8F%E5%88%B0%E8%BE%93%E5%87%BA</id>
		<title>使用DMIS代码发送变量到输出 - 版本历史</title>
		<link rel="self" type="application/atom+xml" href="https://zh-cn.arcowiki.com/index.php?action=history&amp;feed=atom&amp;title=%E4%BD%BF%E7%94%A8DMIS%E4%BB%A3%E7%A0%81%E5%8F%91%E9%80%81%E5%8F%98%E9%87%8F%E5%88%B0%E8%BE%93%E5%87%BA"/>
		<link rel="alternate" type="text/html" href="https://zh-cn.arcowiki.com/index.php?title=%E4%BD%BF%E7%94%A8DMIS%E4%BB%A3%E7%A0%81%E5%8F%91%E9%80%81%E5%8F%98%E9%87%8F%E5%88%B0%E8%BE%93%E5%87%BA&amp;action=history"/>
		<updated>2026-04-11T05:22:00Z</updated>
		<subtitle>本wiki的该页面的版本历史</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>https://zh-cn.arcowiki.com/index.php?title=%E4%BD%BF%E7%94%A8DMIS%E4%BB%A3%E7%A0%81%E5%8F%91%E9%80%81%E5%8F%98%E9%87%8F%E5%88%B0%E8%BE%93%E5%87%BA&amp;diff=301&amp;oldid=prev</id>
		<title>Slia：创建页面，内容为“This code example is used to send a calculated variable to output applying a tolerance as it was a measured feature.&lt;br /&gt;  &lt;code&gt;&lt;span style=&quot;color: green; text…”</title>
		<link rel="alternate" type="text/html" href="https://zh-cn.arcowiki.com/index.php?title=%E4%BD%BF%E7%94%A8DMIS%E4%BB%A3%E7%A0%81%E5%8F%91%E9%80%81%E5%8F%98%E9%87%8F%E5%88%B0%E8%BE%93%E5%87%BA&amp;diff=301&amp;oldid=prev"/>
				<updated>2018-06-15T09:54:21Z</updated>
		
		<summary type="html">&lt;p&gt;创建页面，内容为“This code example is used to send a calculated &lt;a href=&quot;/index.php?title=Variable&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Variable（页面不存在）&quot;&gt;variable&lt;/a&gt; to output applying a tolerance as it was a measured feature.&amp;lt;br /&amp;gt;  &amp;lt;code&amp;gt;&amp;lt;span style=&amp;quot;color: green; text…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This code example is used to send a calculated [[variable]] to output applying a tolerance as it was a measured feature.&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;span style=&amp;quot;color: green; text-decoration: none;&amp;quot;&amp;gt;$$&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;span style=&amp;quot;color: green; text-decoration: none;&amp;quot;&amp;gt;$$Section 1: Preparing the Variable, this is to be substituted by an actual calculation of the required variable&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;DECL/DOUBLE,NominalValue,MeasuredValue,Deviation&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;NominalValue=ASSIGN/10&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;MeasuredValue=ASSIGN/10.5&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;Deviation=ASSIGN/MeasuredValue-NominalValue&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;span style=&amp;quot;color: green; text-decoration: none;&amp;quot;&amp;gt;$$&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;span style=&amp;quot;color: green; text-decoration: none;&amp;quot;&amp;gt;$$&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;span style=&amp;quot;color: green; text-decoration: none;&amp;quot;&amp;gt;$$Section 2: Preparing the tolerances&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;DECL/DOUBLE,utol,ltol&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;utol=ASSIGN/0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;ltol=ASSIGN/-0.1&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;DECL/DOUBLE,oot&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;DECL/CHAR,200,msg&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;IF/(Deviation.GT.utol)&amp;lt;/code&amp;gt;&lt;br /&gt;
::::&amp;lt;code&amp;gt;oot=ASSIGN/Deviation-utol&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;ENDIF&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;IF/(Deviation.LT.ltol)&amp;lt;/code&amp;gt;&lt;br /&gt;
::::&amp;lt;code&amp;gt;oot=ASSIGN/Deviation-ltol&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;ENDIF&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;msg=ASSIGN/STR(oot,13,4)&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;span style=&amp;quot;color: green; text-decoration: none;&amp;quot;&amp;gt;$$&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;span style=&amp;quot;color: green; text-decoration: none;&amp;quot;&amp;gt;$$&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;span style=&amp;quot;color: green; text-decoration: none;&amp;quot;&amp;gt;$$Section 3: Creating the output string with formatting&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;DECL/CHAR,500,strOut,strout1&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;strout1=ASSIGN/'LABEL          NOMINAL        ACTUAL     DEVIATION    LOWER TOL.    UPPER TOL.           OOT'&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;strout=ASSIGN/CONCAT('DIST    ',STR(NominalValue,14,4),STR(MeasuredValue,14,4),STR(Deviation,14,4),STR(ltol,14,4),STR(utol,14,4),msg)&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;span style=&amp;quot;color: green; text-decoration: none;&amp;quot;&amp;gt;$$&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;span style=&amp;quot;color: green; text-decoration: none;&amp;quot;&amp;gt;$$&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;span style=&amp;quot;color: green; text-decoration: none;&amp;quot;&amp;gt;$$Section 4: Sending to Output&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;TEXT/OUTFIL,strout1&amp;lt;/code&amp;gt;&lt;br /&gt;
::&amp;lt;code&amp;gt;TEXT/OUTFIL,strout&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;span style=&amp;quot;color: green; text-decoration: none;&amp;quot;&amp;gt;$$&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[it:Invio di variabili all'output mediante il codice DMIS]]&lt;br /&gt;
[[zh-cn:使用DMIS代码发送变量到输出]]&lt;br /&gt;
[[pt:Envio de variáveis para saída usando o código DMIS]]&lt;br /&gt;
[[de:Senden der Variablen an die Ausgabe mit DMIS-Code]]&lt;br /&gt;
[[es:Enviar variable a la salida usando el código DMIS]]&lt;br /&gt;
[[en:Sending Variable to Output Using DMIS Code]]&lt;/div&gt;</summary>
		<author><name>Slia</name></author>	</entry>

	</feed>