home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
wp_dtp
/
xdme1820.lha
/
XDME
/
Macros
/
README
Wrap
Text File
|
1992-11-18
|
2KB
|
62 lines
This directory contains the following files:
C - This directory contains all files that support in the task of
editing C-Source (what a sentence :-)
The files h.? are the data-files that contain empty headers
for c-source, h-files, functions and structures.
c.xdme initializes the tool inside XDME. There is a new menu
"Sprache" which has the following entries:
C-File - Insert the header for a c-source in an EMPTY (!)
file
H-File - dito for .h-files
Funktion - Create a new function. The best way is to be in the
last empty row in the file and select this entry.
Now you are asked for the name of the function
and the parameters. Fill out the header and go to
the function-body below, which is also generated
by this call.
Hdr->Dcl - If you change the parameters of the function, do it
in the header and select this entry. This entry
will extract the parameters from the header and
generate a std. ANSI-function-protoype.
For this to work, the header-entries must have
a special format:
NAME-field: only the first entry counts, ie.
printf - output to stdout
is ok.
PARAMETER-field: something like:
type name; [optional comment]
or for printf:
char * fmt; format of output
RETURN-field: like parameter. all upto the
first ';' counts and the last work is
removed:
int number_of_chars; num. of chars that are
actually written to output.
Add Include - If you forgot an include-statement, try this.
it will position you near the top, where #include
statements reside, asks you for the file-name
and inserts it. You are then brought back, where you
selected the entry.
If the #include-filename begins with '"', it
appends an '"', otherwise the name is enclosed in
<> to allow global and local include-files.
All these functions are found in the other .xdme-files.