<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kb.sagedev.it/index.php?action=history&amp;feed=atom&amp;title=Far_eseguire_SPV_e_SUB_prima_dello_SPE</id>
	<title>Far eseguire SPV e SUB prima dello SPE - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://kb.sagedev.it/index.php?action=history&amp;feed=atom&amp;title=Far_eseguire_SPV_e_SUB_prima_dello_SPE"/>
	<link rel="alternate" type="text/html" href="https://kb.sagedev.it/index.php?title=Far_eseguire_SPV_e_SUB_prima_dello_SPE&amp;action=history"/>
	<updated>2026-04-30T16:09:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://kb.sagedev.it/index.php?title=Far_eseguire_SPV_e_SUB_prima_dello_SPE&amp;diff=70&amp;oldid=prev</id>
		<title>Mwadmin: Created page with &quot; L'ordine di esecuzione fisso è: Specifico, Verticale, Standard A volte si rende necessario far eseguire SPE, SPV e SUB con ordine diverso.  &lt;code&gt;GPE=1&lt;/code&gt; disattiva l'az...&quot;</title>
		<link rel="alternate" type="text/html" href="https://kb.sagedev.it/index.php?title=Far_eseguire_SPV_e_SUB_prima_dello_SPE&amp;diff=70&amp;oldid=prev"/>
		<updated>2019-05-31T08:38:22Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; L&amp;#039;ordine di esecuzione fisso è: Specifico, Verticale, Standard A volte si rende necessario far eseguire SPE, SPV e SUB con ordine diverso.  &amp;lt;code&amp;gt;GPE=1&amp;lt;/code&amp;gt; disattiva l&amp;#039;az...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
L'ordine di esecuzione fisso è: Specifico, Verticale, Standard&lt;br /&gt;
A volte si rende necessario far eseguire SPE, SPV e SUB con ordine diverso.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;GPE=1&amp;lt;/code&amp;gt; disattiva l'azione standard&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;GPV=1&amp;lt;/code&amp;gt; disattiva l'azione verticale&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Gosub NOME_AZIONE FROM SPVXXX&amp;lt;/code&amp;gt; per far eseguire una specifica azione del verticale (sostituire opportunamente XXX, per es. con ITM)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;Gosub NOME_AZIONE FROM SUBXXX&amp;lt;/code&amp;gt; per far eseguire una specifica azione dello standar (sostituire opportunamente XXX, per es. con ITM)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Per far eseguire prima SPV e SUB:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Gosub ACTION FROM SPVITM&lt;br /&gt;
GPV = 1               # BLOCCO ESECUZIONE &amp;quot;NORMALE&amp;quot; SPV&lt;br /&gt;
IF OK = 0             # SE QUALCOSA ANDATO STORTO ESCO SENZA ESEGUIRE IL MIO CODICE&lt;br /&gt;
    Return&lt;br /&gt;
Endif&lt;br /&gt;
IF !GPE                 # VERIFICO CHE L’SPV NON ABBIA LANCIATO GIA’ IL SUB&lt;br /&gt;
    Gosub ACTION FROM SUBITM&lt;br /&gt;
    GPE = 1                # BLOCCO ESECUZIONE &amp;quot;NORMALE&amp;quot; SUB&lt;br /&gt;
    If OK = 0              # SE QUALCOSA ANDATO STORTO ESCO SENZA ESEGUIRE IL MIO CODICE&lt;br /&gt;
        Return&lt;br /&gt;
    Endif&lt;br /&gt;
Endif&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Per richiamare il programma verticale:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
If PSPV &amp;amp; !GPV&lt;br /&gt;
  Raz GMESSAGE, GZNUM&lt;br /&gt;
  Gosub ACTION From =PROGSPV&lt;br /&gt;
  GPV=1&lt;br /&gt;
Endif&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Per richiamare programma standard&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
If PSUB &amp;amp; !GPE&lt;br /&gt;
  Raz GMESSAGE, GZNUM&lt;br /&gt;
  Gosub ACTION From =PROGSUB&lt;br /&gt;
  GPE=1&lt;br /&gt;
Endif&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mwadmin</name></author>
	</entry>
</feed>