home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Der Mediaplex Sampler - Die 6 von Plex
/
6_v_plex.zip
/
6_v_plex
/
DISK6
/
OS_05
/
EPMASI.ZIP
/
CSYNTAX.ASI
< prev
next >
Wrap
Text File
|
1992-03-06
|
5KB
|
89 lines
/**************************************************************************/
/* C Syntax Assistance File - Example */
/* Version 2.0 */
/* Sven Guyet, 03/92 (DSGUYE at DUESVM1) */
/**************************************************************************/
/* */
/* IF YOU WANT THIS FILE TO BE USED WITH ALL ".C" FILES, DON'T FORGET TO */
/* RENAME IT INTO MYAS_C.HLP !!! */
/* */
/**************************************************************************/
/* NOTE: It is recommended to remove these comment lines in your "real" */
/* syntax assistance file. The first time syntax assistance is */
/* invoked via ALT-H, the file "MYAS_[filetype].HLP" is loaded */
/* into the hidden ring. If "MYAS_[filetype].HLP" can not be found, */
/* the default file specified in my_syntax_filename is used. */
/* Each time ALT-H is pressed the syntax assistance file is scanned */
/* for the specified command abbreviation. Therefore any */
/* unnecessary lines increase the duration of the syntax evaluation.*/
/* */
/* SYNTAX: For each command you wish to be expanded via ALT-H insert a */
/* line starting with the command IN COLUMN ONE and followed */
/* by the text you wish the command to be replaced with. Multiple */
/* lines are allowed. The end of the command description is */
/* encountered either by the end of the syntax assistance file */
/* or by a nonblank character in the first columns up to the */
/* starting point of the first explanation line of the choosen */
/* command. */
/* The cursor position after the replacement can be controled */
/* by putting a '▓' (ascii 178) at the desired position within */
/* the replacement string. */
/* */
/* EXAMPLE: The following C syntax assistance file entries ...... */
/* */
/* Column !1 8 20 */
/*------------------------------------------------------------------------*/
/* Row 1 !FOR for (▓; ; ) { */
/* 2 ! statement */
/* 3 ! } // end for */
/*------------------------------------------------------------------------*/
/* */
/* ...... would expand FOR with the above code between Row 1, */
/* Col 7 and Row 3, Col 20 when ALT-H is pressed. */
/**************************************************************************/
/**************************************************************************/
/* C-STATEMENTS */
/**************************************************************************/
* /***********************************************************************/
/* ▓COMMENT BLOCK */
/***********************************************************************/
DO do {
▓statement;
} // end do
while (▓);
FOR for (▓; ; ) {
statement;
} // end for
IF if (▓) {
statement;
}
else {
statement;
} // end if
MAIN void main(int argc, char *argv[])
{
int ▓i;
for (i=0; i<argc; i++) {
printf("Argument %2d: %s\n", i, argv[i]);
} // end for
} // end main
SWITCH switch (▓) {
case : {
statement;
} break;
default: {
statement;
} break;
} // end switch
CASE case ▓: {
statement;
} break;
WHILE while (▓) {
statement
} // end while