[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
##############################################################################
###+----------------+#########################################################
#+-| LIST STRUCTURE |----------------------------------+######################
#| +----------------+ The LIST STRUCTURE command lists |######################
#| the structure of an alias |######################
#+-----------------------------------------------------+######################
##############################################################################
##############################################################################
#+--| Syntax |----------------------------------+#############################
#| [!<Alias>] LIST STRUCTURE [TO PRINT] |#############################
#+----------------------------------------------+#############################
##############################################################################
##############################################################################
#########+---| Description |-----------------------------------------+########
#########| The output of LIST STRUCTURE is sent through the same I/O |########
#########| system as the ? command. LIST STRUCTURE is identical to |########
#########| DISPLAY STRUCTURE, except LIST STRUCTURE does not pause |########
#########| when more than 24 lines have been output to the screen. |########
#########| --------------------------------------------------------- |########
#########| TO PRINT |########
#########| |########
#########| Duplicates screen output to the print device set with the |########
#########| SET PRINTER TO <C-exp> command. |########
#########+-----------------------------------------------------------+########
##############################################################################
##############################################################################
#########+--| Example 1 |-------------------------------------------+#########
#########| * Print the structure of a database. |#########
#########| |#########
#########| DBFDEF zzz |#########
#########| CHAR(10) name |#########
#########| CHAR(30) address |#########
#########| CHAR(5) zip |#########
#########| ENDDEF |#########
#########| |#########
#########| {...} |#########
#########| !zzz LIST STRUCTURE TO PRINT |#########
#########+----------------------------------------------------------+#########
##############################################################################
##############################################################################
#########+--| Example 2 |-------------------------------------------+#########
#########| * file: \force\source\lister.prg |#########
#########| * (** source code included with compiler **) |#########
#########| * A utility that prints the structure of any |#########
#########| * database file. Usage: lister <dbf> |#########
#########| * Example: liststr mydbf > mydbf.txt |#########
#########| |#########
#########| #include io.hdr && contains scrn_dos |#########
#########| |#########
#########| DBFDEF any && fields do not need |#########
#########| && to be specified |#########
#########| ENDDEF |#########
#########| |#########
#########| PROCEDURE force_main && begin liststr.exe |#########
#########| DO scrn_dos && allow for DOS |#########
#########| && redirection. |#########
#########| USE any |#########
#########| LIST STRUCTURE |#########
#########| ENDPRO |#########
#########+----------------------------------------------------------+#########
##############################################################################
See Also:
DISPLAY STRUCTURE
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson