AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de áreas de memoria
  • Call function MemFound
  • Checks
  • Existence of memory area
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Advertencia
A partir de la versión 20, this feature is kept for backward compatibility. We recommend that you use Associative arrays.
Checks whether the sought element was found.
Ejemplo
// Was the element found in the memory area named "MemoryZone"?
ResFound = MemFound("MemoryZone")
Sintaxis
<Result> = MemFound(<Memory area>)
<Result>: Boolean
  • True if the element was found,
  • False otherwise.
<Memory area>: Character string
Name of the memory area, defined by MemCreate.
Observaciones

Call function MemFound

MemFound must be called after MemSeek, MemFirst, MemLast, MemPrevious and MemNext.

Checks

MemFound cannot be used to perform a check several times in a row. For example, MemFound cannot be used as follows:
MemSeek("DayZone", SoughtValue)
WHILE MemFound("DayZone") = True
	MemNext("DayZone")
END
Indeed, the searches performed in a memory area are exact-match searches. In this case, MemFound and MemOut have the same behavior.
In our example, MemFound returns False (the end of the memory area is not reached). The following searches will not be performed.

Existence of memory area

The existence of the memory area is not checked.
If the specified memory area does not exist, a WLanguage error occurs when MemFound is used.
To check the existence of a memory area, use MemExist.
Clasificación Lógica de negocio / UI: Código neutro
Componente: wd300std.dll
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 28/03/2025

Señalar un error o enviar una sugerencia | Ayuda local