CamelCase, more formally and in this case better called medial
capitalization, is a useful device for improving the legibility of
assembler source; and those who like it should use it.  (The term
'CamelCase' has the defect that if Camelus dromedarius is the referent
only one hump/majuscule would appear to be sanctioned, and even if C.
bactrianus is the referent only two of them would be, and even hybrids
do not have a number of humps h such that h > 2.)

My own preference is to use  a break character, '_', instead, as in

|&tables_initialized setb 1     --tables have been initialized

or

|stack_empty DS  XL1          --x'00' for empty stack | x'ff' for
non-empty stack

The HLASM treats '_' as an alphabetic character, and it may therefore
appear doubled, tripled, etc., etc.  I use multiple instances of it in
such constructions as

|&icount_id setc '&macname'.'____icount_gbla'
|          gbla   &(&icount_id)

They need be entered only once, and duplicate identifiers are very
unlikely when multiple break characters are used in this way.

The name 'underscore' for this character is a misnomer---it cannot be
put under anything--that should be stamped on wherever it is
encountered.  (In ASCII environments 'underscore'  has been used
instead of 'break' because confusion with line breaks is feared,  and
this fear is in turn a reflection of the C and UNIX LF-CR-NL
imbroglio, but enough is enough, )

John Gilmore, Ashland, MA 01721 - USA

Reply via email to