Deutsch English
Alphabetical index
Array functions
CGI functions
Data types
Date functions
Debugging
Fulltext functions
Language elements
Numerical functions
Operators
Other functions
Ramtext functions
Selecting
Socket functions
Statistical functions
Stream functions
String functions
System functions
  • chdir()
  • chmod()
  • compile()
  • copyfile()
  • delfile()
  • delident()
  • dirinfo()
  • diskfree()
  • DO
  • execprog()
  • firstdir()
  • flush()
  • getdir()
  • getenv()
  • getident()
  • getpara()
  • getsize()
  • halt()
  • isfile()
  • makedir()
  • nextdir()
  • pause()
  • privdir()
  • remdir()
  • rename()
  • setcgilog()
  • setident()
  • setpara()
  • testident()
  • timeout()
  • today()
  • varname()
    Table functions
    Text functions
    Home    Overview    Search    Impressum    Contact    Members
    Topic complex System functions
    Function firstdir()
    Short Returns the directory entry of a search pattern
    Syntax FIRSTDIR(Pattern, Attribute : STRING) : STRING
    Parameter Pattern: search pattern
    Attribute : (Only under Win32)
    Return Directory information, if found
    else empty string
    See also:
    nextdir() dirinfo()
    Description A directory information is a string with the following structure:

     Chars      Content
     1 to 63    Filename
     64 to 70   Attribute (d = Directory ... )
     71 to 82   Filesize
     84 to 94   Date of the last change
     96 to 108  Time of the last change
     110 to 127 Access rights (presently only under Linux)
     128 to 255 Directory absolute
    


    The file attributes are analysed only under Win32. Here additional to normal files is searched for:

    'D' : Directories
    'H' : Hidden files
    'S' : System files

    FIRSTDIR-NEXTDIR-Sequences can be nested (no recursive search of a directory tree). The system ressources are handled by the tdbengine, no explicit access must be enabled.

    Within a FIRSTDIR-NEXTDIR-Sequence the function DIRINFO can be used.

    User comments:
    Write a comment:
    Name
    EMail
    Subject
    Text (Switch mode)

    Choose between
    the normal and the
    advanced editor.
    The advanced editor
    runs in IE 5+ and
    Mozilla 1.4+ only
    SPAM-Protection Please enter tdbengine in this field.

    tdbengine chat
    irc.tdbengine.org
    #tdbengine

       Copyright © 2003-2004 tdb Software Service GmbH
       Alle rechte vorbehalten. / All rights reserved
       Last changed: 21.10.2004
    {Fehler für :execmacro{execmacro="sessionspy"}