Changeset bb1eabc for doc


Ignore:
Timestamp:
May 4, 2026, 7:26:38 AM (5 days ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
244335b
Parents:
8403b32
Message:

harmonize output quote manipulator with input quote manipulator, adding left/right quote parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/user/user.tex

    r8403b32 rbb1eabc  
    1111%% Created On       : Wed Apr  6 14:53:29 2016
    1212%% Last Modified By : Peter A. Buhr
    13 %% Last Modified On : Sun May  3 10:13:13 2026
    14 %% Update Count     : 7425
     13%% Last Modified On : Mon May  4 07:19:24 2026
     14%% Update Count     : 7436
    1515%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    1616
     
    54695469
    54705470\item
    5471 \Indexc{quote}( character / string) )\index{manipulator!quote@©quote©} bracket text with appropriate quote characters.
     5471\Indexc{quote}( character / string, ©const char qleft©, ©const char qright©) )\index{manipulator!quote@©quote©} bracket text with appropriate quote characters.
    54725472No quotes is the default.
    54735473\begin{cfa}[belowskip=0pt]
    5474 sout | quote( 'A' ) | quote( "abd" ) | quote( (string){ "@#!" } );
    5475 'A'"abd" "@#!"
     5474sout | quote( 'A' ) | quote( 'W', '"' ) | quote( "abd" ) | quote( "abd", '<', '>' )
     5475          | quote( (string){ "@#!" } ) | quote( (string){ "@#!" }, '[', ']' );
     5476'A'"W""abd" §\LstStringStyle{<abd>}§ "@#!" §\LstStringStyle{[@\#!]}§
    54765477\end{cfa}
    54775478
     
    57435744
    57445745\item
    5745 \Indexc{quote}( ©char & ch©, ©const char Ldelimiter = '\''©, ©const char Rdelimiter = '\0'© )\index{manipulator!quote@©quote©}
     5746\Indexc{quote}( ©char & ch©, ©const char qleft = '\''©, ©const char qright = '\0'© )\index{manipulator!quote@©quote©}
    57465747consumes the string ©"LCR"©, where ©L© is the left ©delimiter© character, ©C© is the value in ©ch©, and ©R© is the right delimiter character, which skips whitespace, consumes and ignores the left delimiter, reads a single character into ©ch©, and consumes and ignores the right delimiter (3 characters).
    57475748If the delimit character is omitted, it defaults to ©'\''© (single quote).
     
    57565757\item
    57575758\begin{sloppypar}
    5758 \Indexc{quote}( $wdi\ manipulator$, ©const char Ldelimiter = '\''©, ©const char Rdelimiter = '\0'© )\index{manipulator!quote@©quote©}
     5759\Indexc{quote}( $wdi\ manipulator$, ©const char qleft = '\''©, ©const char qright = '\0'© )\index{manipulator!quote@©quote©}
    57595760consumes the scanset ©"L[^R]R"©, where ©L© is the left ©delimiter© character and ©R© is the right delimiter character, which skips whitespace, consumes and ignores the left delimiter, reads characters until the right-delimiter into the string variable (null terminated), and consumes and ignores the right delimiter.
    57605761If the delimit character is omitted, it defaults to ©'"'© (double quote).
Note: See TracChangeset for help on using the changeset viewer.