LlGetListEntryType/fr

From Second Life Wiki
Jump to navigation Jump to search

Description

Fonction: integer llGetListEntryType( list src, integer index );

Renvoie un integer correspond au type de la donnée identifiée par index dans la liste src.

• list src
• integer index

index accepte les index négatifs.
Si index n'est pas valide, alors la fonction renvoie la valeur TYPE_INVALID.

Spécifications

Index Positif Negatif
Premier 0 - longueur
Dernier longueur - 1 -1

Types Descriptions
TYPE_INTEGER 1 integer
TYPE_FLOAT 2 float
TYPE_STRING 3 string
Type Description
TYPE_KEY 4 key
TYPE_VECTOR 5 vector
TYPE_ROTATION 6 rotation
Types Descriptions
TYPE_INVALID 0 none

Exemples

Voir également

Fonctions

•  llList2Float Renvoie un float depuis une liste.
•  llList2Integer Renvoie un integer depuis une liste.
•  llList2Key Renvoie un Key depuis une liste.
•  llList2Rot Renvoie un rotation depuis une liste.
•  llList2String Renvoie un string depuis une liste.
•  llList2Vector Renvoie un vector depuis une liste.

Articles

•  Negative_Index
Vous cherchez encore des informations ? Peut-être cette page du LSLwiki pourra vous renseigner.