OBJECT_EXISTS(N)
RETOURNE 1 SI L'OBJET SYSTÈME NUMÉRO N EXISTE, 0 SINON
ACTION
La fonction OBJECT_EXISTS(N) retourne 1 si l'objet système numéro N existe et 0 sinon.
SYNTAXE : Resultat=OBJECT_EXISTS(N)
- N = numéro de l'objet système (entier ou réel).
UTILISATION
- La fonction OBJECT_EXISTS() est utilisée pour savoir si un objet système existe.
ERREUR
- Si le numéro N n'est pas une expression correcte.
EXEMPLE
' créer un BUTTON
button 1
' tester son existence
if object_exists(1)=1 then caption 1,"j'existe"
EN RAPPORT
Content created by Jack. Updated March 07, 2025