Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Harbour Version 0.37 (c) reference Guid - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

DBSTRUCT()

Creates a multidimensional array of a database structure.
---------------------------------------------------------------------------------

 Syntax

        DBSTRUCT() --> aStruct  

 Returns

        DBSTRUCT()   returns an array pointer to database structure    

 Description

      This function returns a multidimensional array.This array has array
      pointers to other arrays,each of which contains the characteristic
      of a field in the active work area.The lenght of this array is based
      in the number of fields in that particular work area.In other
      words,  LEN(DBSTRUCT()) is equal to the value obtained from
      FCOUNT().  Each subscript position

 Examples

      FUNCTION Main()
      LOCAL aStru,x
      USE Tests NEW
      aStru:=DBSTRUCT()
      FOR x:=1 TO LEN(aStru)
        ? aStru[x,1]
      NEXT
      USE
      RETURN NIL

Status

      Ready

 Compliance

      This function is CA-Clipper compliant

 Files

      Library is rdd  Header is  DbStruct.ch



See Also: AFIELDS()

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