<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>Untitled Application</AppTitle>
	<DesignDeviceName>Apple iPhone 3G</DesignDeviceName>
	<Variables>[i],[V1],[V2],[Vopros(i)],[Vopros1]</Variables>
	<VariablesScanned>True</VariablesScanned>
	<PageWidth>480</PageWidth>
	<PageHeight>320</PageHeight>
	<AutoSizeWidth>False</AutoSizeWidth>
	<AutoSizeHeight>False</AutoSizeHeight>
	<HideScrollbars>False</HideScrollbars>
	<PublishPlatform>WebApp</PublishPlatform>
	<EmptyBuildFolder>False</EmptyBuildFolder>
	<LanguageCode>en</LanguageCode>
	<MobileOSTypes>[AndroidOS,iOS,WindowsPhoneOS]</MobileOSTypes>
	<WindowState>normal</WindowState>
	<TitleBar>True</TitleBar>
	<Sizeable>True</Sizeable>
	<MaximizeBtn>False</MaximizeBtn>
	<MinimizeBtn>True</MinimizeBtn>
	<SystemMenu>True</SystemMenu>
	<ContextMenu>False</ContextMenu>
	<AlwaysOnTop>False</AlwaysOnTop>
	<ShowInTaskbar>True</ShowInTaskbar>
	<SingleInstance>False</SingleInstance>
	<ChromeKioskMode>False</ChromeKioskMode>
	<startup>SetVar [V1] 0
SetVar [V2] 0</startup>
	<Components>
		<FunctionList name="Subroutines">
			<Components>
				<Function name="neoSetVar">
					<Code>varname2=&quot;&quot;;
vararray=varname.split(&quot;[&quot;);
for(n=0;n&lt;vararray.length;n++){
   vararray[n] = vararray[n].replace(&quot;]&quot;, &quot;&quot;);
   if($App[vararray[n]]!=undefined){
      varname2=varname2+$App[vararray[n]];
   }else{
      varname2=varname2+vararray[n];
   }
}
$App[varname2]=varvalue;</Code>
					<Hint>Assign a value to a composed variable ie: [mivar(myothervar)]</Hint>
					<Params>varname|VARNAME|Variable name (simple or composed);varvalue|MIXED|Value to store in variable</Params>
					<ScriptLanguage>JavaScript</ScriptLanguage>
				</Function>
				<Function name="neoGetVar">
					<Code>varname3=&quot;&quot;;
vararray=composedvar.split(&quot;[&quot;);
for(n=0;n&lt;vararray.length;n++){
   vararray[n] = vararray[n].replace(&quot;]&quot;, &quot;&quot;);
   if($App[vararray[n]]!=undefined){
      varname3=varname3+$App[vararray[n]];
   }else{
      varname3=varname3+vararray[n];
   }
}
$App[varname]=$App[varname3];</Code>
					<Hint>Get the value of a composed variable ie: [mivar(myothervar)] and assign it to a variable.</Hint>
					<Params>varname|VARNAME|Simple or composed variable to store result;composedvar|VARNAME|Composed variable to get its value</Params>
					<ScriptLanguage>JavaScript</ScriptLanguage>
				</Function>
			</Components>
		</FunctionList>
		<LibraryList name="Libraries"/>
		<PageList name="Main">
			<Components>
				<Page id="NewPage">
					<Components>
						<PushButton id="PushButton1">
							<left>309px</left>
							<top>254px</top>
							<width>160px</width>
							<height>56px</height>
							<caption>GotoNextPage</caption>
							<click>GotoNextPage</click>
						</PushButton>
						<RadioButton id="RadioButton1">
							<left>92px</left>
							<top>95px</top>
							<width>310px</width>
							<height>27px</height>
							<style>font-size:14pt</style>
							<caption>First option</caption>
							<variable>[V1]</variable>
							<value>1</value>
						</RadioButton>
						<RadioButton id="RadioButton2">
							<left>92px</left>
							<top>156px</top>
							<width>304px</width>
							<height>29px</height>
							<style>font-size:14pt</style>
							<caption>Second option</caption>
							<variable>[V1]</variable>
							<value>2</value>
						</RadioButton>
						<RadioButton id="RadioButton3">
							<left>92px</left>
							<top>215px</top>
							<width>269px</width>
							<height>34px</height>
							<style>font-size:14pt</style>
							<caption>Third option</caption>
							<variable>[V1]</variable>
							<value>3</value>
						</RadioButton>
						<Headline id="Headline1">
							<left>64px</left>
							<top>16px</top>
							<width>333px</width>
							<height>45px</height>
							<text>&lt;strong&gt;First question&lt;/strong&gt;</text>
						</Headline>
					</Components>
				</Page>
				<Page id="TNeoAppPage11">
					<Components>
						<PushButton id="PushButton2">
							<left>171px</left>
							<top>253px</top>
							<width>160px</width>
							<height>56px</height>
							<caption>Test</caption>
							<click>Loop 1 2 [i]
  neoGetVar [tempvar] [V(i)]
  IfEx [tempvar] == 0
    AlertBox &quot;Attention&quot; &quot;Missed question number [i]&quot; &quot;&quot;
  EndIF
EndLoop</click>
						</PushButton>
						<RadioButton id="RadioButton4">
							<left>98px</left>
							<top>84px</top>
							<width>310px</width>
							<height>27px</height>
							<style>font-size:14pt</style>
							<caption>First answer</caption>
							<variable>[V2]</variable>
							<value>1</value>
						</RadioButton>
						<RadioButton id="RadioButton5">
							<left>98px</left>
							<top>134px</top>
							<width>304px</width>
							<height>29px</height>
							<style>font-size:14pt</style>
							<caption>Second answer</caption>
							<variable>[V2]</variable>
							<value>2</value>
						</RadioButton>
						<RadioButton id="RadioButton6">
							<left>98px</left>
							<top>185px</top>
							<width>302px</width>
							<height>44px</height>
							<style>font-size:14pt</style>
							<caption>Third answer</caption>
							<variable>[V2]</variable>
							<value>3</value>
						</RadioButton>
						<Headline id="Headline2">
							<left>94px</left>
							<top>12px</top>
							<width>293px</width>
							<height>69px</height>
							<text>&lt;strong&gt;Second question&lt;/strong&gt;</text>
						</Headline>
					</Components>
				</Page>
			</Components>
		</PageList>
		<PageList name="Master">
			<Components>
				<Page id="MasterPage"/>
			</Components>
		</PageList>
		<PageList name="Dialog">
			<Components>
				<Page id="NewDialog">
					<Components>
						<DialogContainer id="DialogContainer1">
							<left>0px</left>
							<top>0px</top>
							<width>1024px</width>
							<height>600px</height>
							<close_button>False</close_button>
						</DialogContainer>
					</Components>
				</Page>
			</Components>
		</PageList>
	</Components>
</Application>
