Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- MICROSYS C & Clipper Functions - <b>b_dir()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
b_dir()


Syntax:     b_dir(<expC>)

Purpose:    Build array with directory information

Arguments:  <expC> is the file specifaction

Returns:    An Array

Library:    MICROSYS.LIB

----------------------------------- Example ----------------------------------

   if( len(xxx := b_dir("*.prg")) == 0 )
        qout()
        qout("*.prg not found")
        qout()
        return
   endi

   for i := 1 to len(xxx)
        qout(xxx[i])
   next

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson