objectscript / cos-guidelines

Caché ObjectScript contibutors guidelines
MIT License
15 stars 15 forks source link

Space after comma in arguments #9

Closed daimor closed 8 years ago

daimor commented 8 years ago

One exception for this rule, for some of macrodefenitions like this:

#define NewTempGN(%gn,%i) set %i=$i(^CacheTemp.MyApp),%gn=$name(^CacheTemp.MyApp(%i))

then in code, such code with space after comma will cause an compile error, because spaces here is valuable too, and will appear as is in generated code.

$$$NewTempGN(gn, ii)