::num := 1
::pub := 0
::y := "12"
::comodin := 12
Do While ::num <= 12
::x := '::oMaskedit'
::f := ::x + ::y + ':Value'
If ::F = "S"
::pub := ::pub + 1
Endif
::num := ::num + 1
::comodin := ::comodin + 1
::y := ::y + 1
Enddo
EN 12 :.OMASKEDIT ESTOY CAPTURANDO UNA "S" O UNA "N" Y CON EL ARREGLO
ANTERIOR QUIERO SABER CUANTAS "S" SE CAPTURARON. QUE EN CADA "S" QUE
ENCUENTRE ME INCREMENTE LA VARIABLE ::PUB
PORQUE EN CLIPPER ANTEPONIENDO EL & EN LA VARIABLE EN ESTE CASO F YO PODIA
HACERLO AQUI EN XAILER COMO SERIA
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
COMO TERMINAR EL ARREGLO
COMO TERMINAR EL ARREGLO
David,
> ::num := 1
> ::pub := 0
> ::y := "12"
> ::comodin := 12
>
> Do While ::num <= 12
> ::x := '::oMaskedit'
::f := __ObjSendMsg( Self, ::x + ::y ):Value
> If ::F = "S"
> ::pub := ::pub + 1
> Endif
> ::num := ::num + 1
> ::comodin := ::comodin + 1
> ::y := ::y + 1
> Enddo
--
Un saludo,
José F. Giménez
http://www.xailer.com
http://www.xailer.info
> ::num := 1
> ::pub := 0
> ::y := "12"
> ::comodin := 12
>
> Do While ::num <= 12
> ::x := '::oMaskedit'
::f := __ObjSendMsg( Self, ::x + ::y ):Value
> If ::F = "S"
> ::pub := ::pub + 1
> Endif
> ::num := ::num + 1
> ::comodin := ::comodin + 1
> ::y := ::y + 1
> Enddo
--
Un saludo,
José F. Giménez
http://www.xailer.com
http://www.xailer.info