@roccocogliano,@luishp
I have created a small app that only has a button, which reads a file and then must place the different lines in the variables of a page.
I have followed the routine to the letter but I can't get it to work, I check and check and I can't find where the error is
the button reads the file
neoPhpFileToVar "file.txt" [result] "parseData"
This is the routine that runs
StrParse "[result]" "\n" [myArray]
ArrayLen [myArray] [totalLines]
SetVar [line1] [myArray(0)]
SetVar [line2] [myArray(1)]
SetVar [line3] [myArray(2)]
SetVar [line4] [myArray(3)]
Then on the page it should take the value of the variables but I can't get it to do so...
He creado una pequeña app que solo tiene un boton, el cual lee un archivo y luego debe colocar las distintas lineas en las variables de una pagina.
He seguido la rutina al pie de la letra pero no logro ni consigo que funcione, reviso y reviso y no puedo encontrar donde esta el fallo
el boton lee el archivo
neoPhpFileToVar "file.txt" [resultado] "parseData"
Esta es la rutina que ejecuta
StrParse "[resultado]" "\n" [miArray]
ArrayLen [miArray] [totalLineas]
SetVar [linea1] [miArray(0)]
SetVar [linea2] [miArray(1)]
SetVar [linea3] [miArray(2)]
SetVar [linea4] [miArray(3)]
Luego en la pagina deberia tomar el valor de las varibles pero no logro que lo haga...
@roccocogliano,@luishp
I have created a small app that only has a button, which reads a file and then must place the different lines in the variables of a page.
I have followed the routine to the letter but I can't get it to work, I check and check and I can't find where the error is
the button reads the file
neoPhpFileToVar "file.txt" [result] "parseData"
This is the routine that runs
StrParse "[result]" "\n" [myArray]
ArrayLen [myArray] [totalLines]
SetVar [line1] [myArray(0)]
SetVar [line2] [myArray(1)]
SetVar [line3] [myArray(2)]
SetVar [line4] [myArray(3)]
Then on the page it should take the value of the variables but I can't get it to do so...
He creado una pequeña app que solo tiene un boton, el cual lee un archivo y luego debe colocar las distintas lineas en las variables de una pagina.
He seguido la rutina al pie de la letra pero no logro ni consigo que funcione, reviso y reviso y no puedo encontrar donde esta el fallo
el boton lee el archivo
neoPhpFileToVar "file.txt" [resultado] "parseData"
Esta es la rutina que ejecuta
StrParse "[resultado]" "\n" [miArray]
ArrayLen [miArray] [totalLineas]
SetVar [linea1] [miArray(0)]
SetVar [linea2] [miArray(1)]
SetVar [linea3] [miArray(2)]
SetVar [linea4] [miArray(3)]
Luego en la pagina deberia tomar el valor de las varibles pero no logro que lo haga...
Uploaded files:- You need to login to have access to uploads.