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
  • Existence of memory area
  • Automatic completion on the name of memory area
  • Size of information
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.
Creates a memory area. This memory area may contain text or numeric information.
Ejemplo
// Create a memory area
MemCreate("MyMemoryZone")
 
// When typing the following MemXXX functions, 
// "MyMemoryZone" will be automatically proposed in the completion
sString is string = "A"
sString = Complete(sString, 10000, "B")
Trace(Length(sString))

MemCreate("MZ")
MemAdd("MZ", "1", sString)
sString = MemFirst("MZ")
Trace(Length(sString))
Sintaxis
MemCreate(<Memory area>)
<Memory area>: Character string
Name of the memory area to create (up to 20 characters). This name will be used by all the functions for managing memory areas.
Observaciones

Existence of memory area

The existence of the memory area is not checked. If the memory area already existed, this memory area is overwritten. To check the existence of a memory area, use MemExist.

Automatic completion on the name of memory area

In the code editor, after a memory area is manipulated using a Memxxx function (MemCreate, for example), its name will be automatically proposed when you type WLanguage functions that accept the name of the memory area as a parameter.

Size of information

If the size of the information to be stored in the memory area is greater than the available memory space, a "disk swap" is used: one or more temporary files are created to store the surplus information.. These temporary files are created on the local disk, in the directory specified by the "TEMP" environment variable.
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: 27/03/2025

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