Example: C Comments that Comply with the ANSI Standard
Use this C standard comment block:
/********************************************************************** * Correct Method of C Comments * *********************************************************************/ /* SAR 1234567 Begin*/ /* Populate the lpDS->OrderedPlacedBy value from the userID only in the ADD mode */ if ( lpDS->cHeaderActionCode == _J('1')) { if (IsStringBlank(lpDS->szOrderedPlacedBy)) .{ jdeStrcpy((JCHAR *)(lpDS->szOrderedPlacedBy), (const JCHAR *)(lpDS->szUserID)); }/* End of defaulting in the user id into Order placed by if the later was left blank */ }/* SAR 1234567 End */