PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Default values in associative array
Default values in associative array
Débuté par Nicolas Dewolf, 25 nov. 2025 10:03 - Aucune réponse
Posté le 25 novembre 2025 - 10:03
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?