Go to the first, previous, next, last section, table of contents.


|doCBackslashes

Function: |doCBackslashes { [chars] -> [chars] }
file: job.t
package: muf
status: alpha

The |doCBackslashes function is a simple compiler convenience function which implements the C backslash convention on a block of characters -- sequences consisting of a backslash character followed by another character are contracted to the single corresponding character.

The current list of escapes recognized:

'\0'
'\a'
'\b'
'\f'
'\n'
'\r'
'\t'
'\v'

(Other characters preceded by backslash simply reduce to themselves.)

While this function is intended to be used on blocks of characters, it is not an error to have non-character values in the block.


Go to the first, previous, next, last section, table of contents.