dbtables()

Description: returns a list of records with information about tables stored the database related to f

Syntax: dbtables(f)

Parameters:

The return type is a list of records with the following fields:
Code Example
procedure main()
  f:=open("mysql","O","test","fbalbi","xxxxxxxx") # open test table

  tablelist:=dbtables(f) # get current database tables information

  write("size list = ", *tablelist) # write number of tables

  every i:=(1 to *tablelist) do { # for each table
    r:=tablelist[i]

    every j:=(1 to *r) do writes("[",r[j],"]") # print table info fields
    write()
  }

  close(f) # close table
end