home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff348.lzh
/
DisEditor
/
CMacros
/
README
< prev
Wrap
Text File
|
1990-04-15
|
1KB
|
34 lines
This describes the macros in CMacros. This a file of 30 macros designed for
C programming. To load the file, select "Macro Load" under the "Setup" menu.
Press Function key F1 at the prompt "Press Function key combo to LOAD". Enter
30 for the number of macros.
F1 - types "void"
F2 - types "extern"
F3 - types "static"
F4 - starts a new line and types "#define"
F5 - starts a new line and types "#include" plus the two quote chars.
Places the cursor inbetween the quotes.
F6 - types a template for the struct definition.
F7 - types a typical loop template with i as the loop variable
F8 - types a case statement
F9 - types a return() statement with the cursor between the parenthesis
F10 - types the comment identifiers with the cursor inbetween
SHIFTED
F1 - types "SHORT"
F2 - types "USHORT"
F3 - types "LONG"
F4 - types "ULONG"
F5 - types "BYTE"
F6 - types "UBYTE"
F7 - types "APTR"
F8 - types "INT"
F9 - types "struct *" and places the cursor before the *
F10 - types "if (!=0)" and places the cursor before the !
ALT
F1 - types "break;"
F2 - sets up an ifdef/endif section