PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV 2024 → Default values in associative array
Default values in associative array
Iniciado por Nicolas Dewolf, nov., 25 2025 10:03 AM - Sem resposta
Publicado em novembro, 25 2025 - 10:03 AM
I have an associative array of objects of a custom class.

When I try to check if a key exists with
arr[key]..Exist
, I never get 'false'. It always hallucinates some new object. To make it worse, it actually adds these 'new' object to the array.

How does this align with the following snippet from the help page?