<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pt">
		<id>https://pt.arcowiki.com/index.php?action=history&amp;feed=atom&amp;title=Manipulando_Vari%C3%A1vel_Ambiental</id>
		<title>Manipulando Variável Ambiental - Histórico de revisão</title>
		<link rel="self" type="application/atom+xml" href="https://pt.arcowiki.com/index.php?action=history&amp;feed=atom&amp;title=Manipulando_Vari%C3%A1vel_Ambiental"/>
		<link rel="alternate" type="text/html" href="https://pt.arcowiki.com/index.php?title=Manipulando_Vari%C3%A1vel_Ambiental&amp;action=history"/>
		<updated>2026-04-07T14:05:05Z</updated>
		<subtitle>Histórico de edições para esta página nesta wiki</subtitle>
		<generator>MediaWiki 1.29.1</generator>

	<entry>
		<id>https://pt.arcowiki.com/index.php?title=Manipulando_Vari%C3%A1vel_Ambiental&amp;diff=122&amp;oldid=prev</id>
		<title>Slia: Criou a página com &quot;In ARCO it is possible to create, read and delete entries in the Windows Registry, in this way the user can have specific '''environmental variables''' for his use.&lt;br/&gt;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pt.arcowiki.com/index.php?title=Manipulando_Vari%C3%A1vel_Ambiental&amp;diff=122&amp;oldid=prev"/>
				<updated>2018-06-07T08:26:45Z</updated>
		
		<summary type="html">&lt;p&gt;Criou a página com &amp;quot;In ARCO it is possible to create, read and delete entries in the Windows Registry, in this way the user can have specific &amp;#039;&amp;#039;&amp;#039;environmental &lt;a href=&quot;/index.php?title=Variables&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Variables (página não existe)&quot;&gt;variables&lt;/a&gt;&amp;#039;&amp;#039;&amp;#039; for his use.&amp;lt;br/&amp;gt;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In ARCO it is possible to create, read and delete entries in the Windows Registry, in this way the user can have specific '''environmental [[variables]]''' for his use.&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Setting and Reading Environmental Variable==&lt;br /&gt;
This is used to set general [[variable]] that can be read from all the different part programs.&amp;lt;br/&amp;gt;&lt;br /&gt;
The typical use is to set a path to copy result files from all the programs.&amp;lt;br/&amp;gt;&lt;br /&gt;
An example of application is:&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*From one part program the program set the environment folder:&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;$$ Declare the base 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/CHAR,200, STR1&amp;lt;/code&amp;gt;&lt;br /&gt;
::::&amp;lt;CODE&amp;gt;STR1=ASSIGN/'C:\Report Folder')&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;$$ Use the command SETENV/ to create the entry in the registry&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
::::&amp;lt;CODE&amp;gt;SETENV/'MY_REPORT_FOLDER', STR1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*From all the other programs the program read the folder and output there:&lt;br /&gt;
::&amp;lt;code&amp;gt;&amp;lt;span style=&amp;quot;color: green; text-decoration: none;&amp;quot;&amp;gt;$$ Declare the base 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/CHAR,200, STR2&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;$$ Use the command GETENV/ to read the entry from the registry&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
::::&amp;lt;CODE&amp;gt;STR2=ASSIGN/GETENV('MY_REPORT_FOLDER')&amp;lt;/code&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;$$ Declare the base , the dummy point, the tolerances and build the output&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,200, STR2&amp;lt;/code&amp;gt;&lt;br /&gt;
::::&amp;lt;CODE&amp;gt;DECL/CHAR,200, STR3&amp;lt;/code&amp;gt;&lt;br /&gt;
::::&amp;lt;CODE&amp;gt;STR3=ASSIGN/CONCAT(str2,'output.mea')&amp;lt;/code&amp;gt;&lt;br /&gt;
::::&amp;lt;CODE&amp;gt;DID(OUT_FILE)=DEVICE/STOR,STR3&amp;lt;/code&amp;gt;&lt;br /&gt;
::::&amp;lt;CODE&amp;gt;F(q)=FEAT/POINT,CART,00,0,0,0,0,1&amp;lt;/code&amp;gt;&lt;br /&gt;
::::&amp;lt;CODE&amp;gt;FA(q)=FEAT/POINT,CART,00,0,0,0,0,1&amp;lt;/code&amp;gt;&lt;br /&gt;
::::&amp;lt;CODE&amp;gt;T(CORTOL_1)=TOL/CORTOL,XAXIS,-0.1000,0.1000&amp;lt;/code&amp;gt;&lt;br /&gt;
::::&amp;lt;CODE&amp;gt;T(CORTOL_2)=TOL/CORTOL,YAXIS,-0.1000,0.1000&amp;lt;/code&amp;gt;&lt;br /&gt;
::::&amp;lt;CODE&amp;gt;T(CORTOL_3)=TOL/CORTOL,ZAXIS,-0.1000,0.1000&amp;lt;/code&amp;gt;&lt;br /&gt;
::::&amp;lt;CODE&amp;gt;OPEN/DID(OUT_FILE),FDATA,V(TEXT),OUTPUT,OVERWR&amp;lt;/code&amp;gt;&lt;br /&gt;
::::::&amp;lt;CODE&amp;gt;OUTPUT/FA(Q),TA(CORTOL_1),TA(CORTOL_2),TA(CORTOL_3)&amp;lt;/code&amp;gt;&lt;br /&gt;
::::&amp;lt;CODE&amp;gt;CLOSE/DID(OUT_FILE)&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Deleting Environmental Variable==&lt;br /&gt;
This is used to clean an Environmental general [[Variable]] that has been previously set.&amp;lt;br/&amp;gt;&lt;br /&gt;
An example of application is:&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*From one part program we set the environment folder:&amp;lt;br/&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;$$ Declare the base 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/CHAR,200, STR1&amp;lt;/code&amp;gt;&lt;br /&gt;
::::&amp;lt;CODE&amp;gt;STR1=ASSIGN/'C:\Report Folder')&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;$$ Use the command SETENV/ to create the entry in the registry&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
::::&amp;lt;CODE&amp;gt;SETENV/'MY_REPORT_FOLDER', STR1&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*From another part program we clear the environment folder:&amp;lt;br/&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;$$ Use the command DELENV/ to remove the entry from the registry&amp;lt;/span&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
::::&amp;lt;code&amp;gt;DELENV/'MY_REPORT_FOLDER'&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[it:Gestione della variabile ambientale]]&lt;br /&gt;
[[zh-cn:处理环境变量]]&lt;br /&gt;
[[pt:Manipulando Variável Ambiental]]&lt;br /&gt;
[[de:Umgang mit Umgebungsvariablen]]&lt;br /&gt;
[[es:Manejo de variable ambiental]]&lt;br /&gt;
[[en:Handling Environmental Variable]]&lt;/div&gt;</summary>
		<author><name>Slia</name></author>	</entry>

	</feed>