articles/dicorebol-fr/dump-obj.txt · Dernière modification: 07/05/2005 00:20

EN: rebol.com - rebol.org - rebol.net -
FR: Rebol Documentation Project - forum RebelBB - rebol-france.org - forum codeur -

 

Dump-obj - Détail de la fonction

En résumé :

Retourne un bloc d’informations à propos d’un objet.

Utilisation :

dump-obj obj

Argument :

obj - L’argument objet. (type: object!)

Raffinement :

/match - Inclut seulement les informations qui correspondent à une chaîne de caractères ou à un type de données.

pat - L’argument pattern correspondant.

Description :

Cette fonction fournit une façon simple de visualiser un objet. C’est une alternative à MOLD et PROBE lesquels afficherait beaucoup trop d’informations pour les objets profondément struturés.

    print dump-obj system/error
       throw           object!   [code type no-loop no-function no-catch] 
       note            object!   [code type no-load exited] 
       syntax          object!   [code type invalid missing header] 
       script          object!   [code type no-value need-value no-arg expect-arg e... 
       math            object!   [code type zero-divide overflow positive] 
       access          object!   [code type cannot-open not-open already-open alrea... 
       command         object!   [code type fmt-too-short fmt-no-struct-size fmt-no... 
       resv700         none!     none 
       user            object!   [code type message] 
       internal        object!   [code type bad-path not-here stack-overflow global...

Fonctions en relation :

? - Affiche les informations sur des mots et des valeurs.

?? - Affiche le nom d’une variable suivi par ses valeurs molded. (pour le débogage)

help - Affiche les informations sur des mots et des valeurs.

Version anglaise officielle :

 
  articles/dicorebol-fr/dump-obj.txt · Dernière modification: 07/05/2005 00:20
 
Fil RSS: Recent changes RSS feed
Valid XHTML 1.0 Valid CSS Powered by PHP Driven by DokuWiki
Hébergement par Spinodo