<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>Untitled Application</AppTitle>
	<AppShortName>MyApp</AppShortName>
	<Author>Author name</Author>
	<Version>1.0</Version>
	<Variables>[myarray([n])],[myarray],[myvar],[n],[nombrefinal],[nregistros],[posicionleft],[posiciontop],[rec],[totalitems]</Variables>
	<VariablesScanned>True</VariablesScanned>
	<PageWidth>700</PageWidth>
	<PageHeight>400</PageHeight>
	<AutoSizeWidth>False</AutoSizeWidth>
	<AutoSizeHeight>False</AutoSizeHeight>
	<HideScrollbars>False</HideScrollbars>
	<PublishPlatform>WebApp</PublishPlatform>
	<EmptyBuildFolder>False</EmptyBuildFolder>
	<AppIcon>C:\Users\sinli\Documents\VisualNeoWeb\Libraries\img\default-icon.png</AppIcon>
	<LanguageCode>en</LanguageCode>
	<ThemeColor>#000000</ThemeColor>
	<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"/>
		<LibraryList name="Libraries"/>
		<PageList name="Main">
			<Components>
				<Page id="NewPage">
					<Components>
						<Form id="Form1">
							<left>20px</left>
							<top>30px</top>
							<width>210px</width>
							<height>60px</height>
							<style>border-width:1px;border-style:dashed</style>
							<method>POST</method>
							<Components>
								<FileInput id="FileInput1">
									<left>10px</left>
									<top>10px</top>
									<width>190px</width>
									<height>40px</height>
									<style>padding-top:9px</style>
									<prop_name>file1</prop_name>
									<change>CreateEmptyArray [rec]
CreateEmptyArray [rec1]
CreateEmptyArray [rec2]
LocalFileToVar &quot;FileInput1&quot; [myvar]
FormReset &quot;Form1&quot;
Wait 300
.............................................................
.Todos los items al ListBox
StrParse &quot;[myvar]&quot; &quot;,&quot; [myarray]
.Numero de items
ArrayLen [myarray] [totalitems]

...   Guarda en el array rec solo los valores Name1,Name2.......Name5 saltando de 3 en 3
SetVar [n] 0
loop 0 [totalitems] [x]
      ArrayAddItem &quot;rec&quot; &quot;[myarray([n])]&quot;
      SetVar [n] [n]+3
endloop

...   Empezamos desde 1 y saltamos de 3 en 3
SetVar [n] 1
loop 0 [totalitems] [x]
      ArrayAddItem &quot;rec1&quot; &quot;[myarray([n])]&quot;
      SetVar [n] [n]+3
endloop

...   Empezamos desde 2 y saltamos de 3 en 3
SetVar [n] 2
loop 0 [totalitems] [x]
      ArrayAddItem &quot;rec2&quot; &quot;[myarray([n])]&quot;
      SetVar [n] [n]+3
endloop

..............................................................
EndWait</change>
									<caption>Load .txt file</caption>
								</FileInput>
							</Components>
						</Form>
						<Listbox id="Listbox1">
							<left>250px</left>
							<top>30px</top>
							<width>330px</width>
							<height>109px</height>
							<items>[myarray]</items>
							<variable>[listbox1]</variable>
							<multi_select>False</multi_select>
						</Listbox>
						<Container id="Container1">
							<left>21px</left>
							<top>92px</top>
							<width>210px</width>
							<height>70px</height>
							<style>background-color:#fff</style>
							<html>Select a .txt file with comma separated items:&lt;br&gt;
item1,item2,item3...</html>
						</Container>
						<Container id="Container2">
							<left>25px</left>
							<top>196px</top>
							<width>558px</width>
							<height>41px</height>
							<style>border-width:1px;border-style:solid;background-color:#fff;</style>
							<html>[rec]</html>
						</Container>
						<Container id="Container3">
							<left>26px</left>
							<top>269px</top>
							<width>551px</width>
							<height>49px</height>
							<style>border-width:1px;border-style:solid;background-color:#fff;</style>
							<html>[rec1]</html>
						</Container>
						<Container id="Container4">
							<left>24px</left>
							<top>348px</top>
							<width>558px</width>
							<height>46px</height>
							<style>border-width:1px;border-style:solid;background-color:#fff;</style>
							<html>[rec2]</html>
						</Container>
						<Paragraph id="Paragraph1">
							<left>24px</left>
							<top>166px</top>
							<width>643px</width>
							<height>25px</height>
							<text>Deberían aparecer los&amp;nbsp;items del archivo txt 0,3,6,9,12 esto es: Name1,Name2,Name3,Name4,Name5</text>
						</Paragraph>
						<Paragraph id="Paragraph2">
							<left>28px</left>
							<top>240px</top>
							<width>592px</width>
							<height>25px</height>
							<text>Deberían aparecer los&amp;nbsp;items del archivo txt 1,4,7,10,13 esto es: A1,A2,A3,A4,A5&amp;nbsp;</text>
						</Paragraph>
						<Paragraph id="Paragraph3">
							<left>26px</left>
							<top>319px</top>
							<width>592px</width>
							<height>25px</height>
							<text>Deberían aparecer los&amp;nbsp;items del archivo txt 2,5,8,11,14 esto es: B1,B2,B3,B4,B5&amp;nbsp;</text>
						</Paragraph>
					</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>600px</width>
							<height>400px</height>
							<close_button>False</close_button>
						</DialogContainer>
					</Components>
				</Page>
			</Components>
		</PageList>
	</Components>
</Application>
