Comments in Programs

Contents Index <<Browse<< >>Browse>>


Program comments consist of text contained between /* and */. Comments can NOT be nested. Examples:

/*
This is a 
multiple line comment.
*/

proc discrim    	/* Use the discriminant analysis procedure */
     data=jv.junk
     method=normal      /*Analysis assumes multivariate normal */
     pool=yes           /*Use pooled estimate of covariance */
     posterr;           /*Estimate classification errors */

Comments make the purpose of statements clear to any reader (even yourself one week later). Use plenty of comments in your programming.


Contents Index <<Browse<< >>Browse>>

Copyright © 1997 by Jerry Alan Veeh. All rights reserved.