home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hot Shareware 35
/
hot35.iso
/
ficheros
/
9TXT
/
ZE32V270.ZIP
/
EXAMPLES.TX_
/
EXAMPLES.TX
Wrap
Text File
|
1998-05-19
|
8KB
|
191 lines
Zeus Example Information
========================
Zeus comes with several examples programs, files and batch files. These
will show how it is possible to enhance the functionality of Zeus by using
third party programs, data files and batch files.
Below you will find information regarding the examples provided and details
on how to uses them. All of the files will have been copied from the install
disk and can be found in the Zeus zExample directory.
Zeus File Extension Keywords
----------------------------
Zeus comes with several keyword definitions for several programming
languages. To use these files first create a new file extension using
the Options Extensions menu item and then use the 'Import' button to
select the required import file from the list provided. Below is a list
of the keywords definitions files that have been provide and are ready
for importing:
ADA95.TXT - Ada 95 import file
ASM.TXT - 8086 ASM import file
BASIC.TXT - BASIC import file
BAT.TXT - BATCH import file
C-CPP.TXT - C/C++ import file
CICODE.TXT - CI Code import file
CLIPPER.TXT - Clipper import file
COBOL.TXT - Cobol import file
DBASE.TXT - dBase import file
DELPHI.TXT - Delphi import file
FORTRAN.TXT - Fortran import file
HTML.TXT - HTML import file
JAVA.TXT - Java import file
PAS.TXT - Pascal import file
PERL.TXT - Perl import file
PYTHON.TXT - Python import file
REXX.TXT - REXX import file
SQL.TXT - SQL import file
TEX.TXT - LaTex import file
VERILOG.TXT - Verilog import file
VHDL.TXT - VHDL import file
If you find any of these keyword files are wrong or missing keywords
please let me know as these files almost certainly will contain some
errors or omissions.
CC.BAT: Example of an External Compile Batch File
-------------------------------------------------
Zeus will run most compilers, linkers and makers without problems, but in
some cases you may need to use an external batch file. The CC.BAT file is
an example of how to configure Zeus to run the compile using an external
batch file. To use the CC.BAT file just enter CC.BAT into the Run file
field of the Options Compiler dialog, making sure you have checked the
'Use other file' checkbox option first. Then just compile any file using
the Compiler Compile menu option to see the results.
Note: NT users should rename this file to have a cmd extension
PM.BAT: Example of an External Make Batch File
----------------------------------------------
This is an example of a Project Make file written as a batch file. It is
for those who are not interested in using a make utility to build their
projects but still want to use the project building features that Zeus
offers. This example illustrates how to use a simple batch file as the
project file. To use this file just edit the file using the Zeus editor
and read the instructions that are contained within the file.
Note: NT users should rename this file to have a cmd extension
CTAGS: C/C++ Tag Example Tool
-----------------------------
The CTAGS.EXE is a simple tool designed to locate C/C++ functions,
variables and definitions. For more information refer to the CTAGS.C
file located in the zExample directory.
This ctag.exe program will have been copied to the Zeus install
directory and the program will have been configured to run by the
installation program. To see how this program works run this program
using the Zeus tag support features located under the Tags menu
item, but make sure the Zeus install directory is in the path.
To make this application you will need MSVC Version 1.5 or better
or BC++ Version 4.5 or better. Just load the make file and build
the application.
The CTAGS example is made up of the following files:
CTAGS.MAK - Project make file
CTAGS.EXE - CTAGS executable
CTAGS.C - Main source file
WILDCARD.C - Wildcard processing source file
CTYPE.C - C types source file
CTYPE.H - C types header file
CONFIG.H - Configuration header file
The CTAGS.EXE takes the following command line arguments:
Usage: ctags [flags] filenames...
-s include static functions
-t include typedefs
-v include variable declarations
-q sort tags by name
-qi sort tags by name, ignore case
-qt sort tags by type
-a append to "tags", instead of overwriting
-f[file] write tags to file, default is "tags"
Examples: CTAGS.EXE -s ctag.c
CTAGS.EXE -s -t -v *.c
Exuberant CTAGS written by Darren Hiebert <darren@hiebert.com>
--------------------------------------------------------------
The CTAGS tool that is supplied with the Zeus editor is provided only
as example of how Zeus can support third party tagging tools. For a
more functional implementation of CTAGS the "Exuberant CTAGS" comes
highly recommended. This program is written by Darren Hiebert and is
available for download from the following web page:
http://darren.hiebert.com
To have Zeus use the "Exuberant CTAGS" (or any other tag program) just
use the Options Tags menu to configure the Zeus tag support (see the
online help for more details).
CINC: C/C++ Include Example Tool
--------------------------------
The CINC.EXE is a tool designed to scan the given C/C++ for include
files. The results of the scan can be displayed as a formatted tree
output or as just a simple line output. The utility will also scan
system include files if asked to do so.
The CINC example consists of the following file:
CINC.MAK - Project make file
CINC.EXE - CINC executable
CINC.CPP - Main source file
To run this tool use and DOS command line, use the Zeus Tools
Command Line menu option and run the command from the Zeus command
line, or select the tool from the installed tool list of the Zeus
Tools menu.
To make the application you will need MSVC Version 1.5 or better
or BC++ Version 4.5 or better. Just load the make and build the
application.
The CINC.EXE takes the following command line arguments:
Usage: CINC [flags] filename
-s search system include files also
-f format the display output
Example: CINC.EXE -f cinc.c
FGREP: File GREP Example Tool
------------------------------
The FGREP.EXE is a simple GREP utility that can be used for
scanning files for text strings.
The FGREP example consists of the following file:
FGREP.MAK - Project make file
FGREP.EXE - FGREP executable
FGREP.C - Main source file
To run this tool use a DOS command line prompt or use the Zeus Tools
DOS Command Line menu option to enter the command line. An example
of the fgrep program configured as a tool is also located on the
tools menu item, but note that this is only a simple example and the
tool setting will need to be changed to suit your requirements.
To make the application you will need MSVC Version 1.5 or better
or BC++ Version 4.5 or better. Just load the make file and build
the application.
For more information on using FGREP run FGREP.EXE -?
Usage: FGREP.EXE -?
Example: FGREP.EXE -n Example *.txt