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.

COMO TERMINAR EL ARREGLO

Foro público de Xailer en español
Responder
David[1]
Mensajes: 2
Registrado: Vie Ene 30, 2009 9:13 pm

COMO TERMINAR EL ARREGLO

Mensaje por David[1] »

::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
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

COMO TERMINAR EL ARREGLO

Mensaje por jfgimenez »

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
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Responder