articles/dicorebol-fr/scriptq.txt · Dernière modification: 07/05/2005 00:22

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

 

Script? - Détail de la fonction

En résumé :

Vérifie si un fichier, une URL ou une chaine contient un en-tête de script REBOL valide.

Utilisation :

script? valeur

Arguments :

valeur - L’argument “valeur”. (type: file! url! string!)

Description :

Si l’en-tête est trouvé, renvoie le contenu du script. Sinon, renvoie NONE.

    print either script? %file.txt ["found"]["not found"]
    not found

Version anglaise officielle :

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