<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>Untitled Application</AppTitle>
	<DesignDeviceName>Apple iPhone 3G</DesignDeviceName>
	<VariablesScanned>False</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>
	<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>varname2=&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){
      varname2=varname2+$App[vararray[n]];
   }else{
      varname2=varname2+vararray[n];
   }
}
$App[varname]=$App[varname2];</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>160px</left>
							<top>132px</top>
							<width>160px</width>
							<height>56px</height>
							<caption>Test</caption>
							<click>neoSetVar [num] &quot;1&quot;
neoSetVar [num2] 2
neoSetVar [testvar(num)(num2)] &quot;Hi! It works&quot;
neoGetVar [myvar] [testvar(num)(num2)]
AlertBox &quot;Variable value:&quot; &quot;[myvar]&quot; &quot;&quot;</click>
						</PushButton>
					</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>
