- Timestamp:
- May 4, 2026, 7:26:38 AM (5 days ago)
- Branches:
- master
- Children:
- 244335b
- Parents:
- 8403b32
- File:
-
- 1 edited
-
doc/user/user.tex (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/user/user.tex
r8403b32 rbb1eabc 11 11 %% Created On : Wed Apr 6 14:53:29 2016 12 12 %% Last Modified By : Peter A. Buhr 13 %% Last Modified On : Sun May 3 10:13:13202614 %% Update Count : 74 2513 %% Last Modified On : Mon May 4 07:19:24 2026 14 %% Update Count : 7436 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 … … 5469 5469 5470 5470 \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. 5472 5472 No quotes is the default. 5473 5473 \begin{cfa}[belowskip=0pt] 5474 sout | quote( 'A' ) | quote( "abd" ) | quote( (string){ "@#!" } ); 5475 'A'"abd" "@#!" 5474 sout | quote( 'A' ) | quote( 'W', '"' ) | quote( "abd" ) | quote( "abd", '<', '>' ) 5475 | quote( (string){ "@#!" } ) | quote( (string){ "@#!" }, '[', ']' ); 5476 'A'"W""abd" §\LstStringStyle{<abd>}§ "@#!" §\LstStringStyle{[@\#!]}§ 5476 5477 \end{cfa} 5477 5478 … … 5743 5744 5744 5745 \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©} 5746 5747 consumes 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). 5747 5748 If the delimit character is omitted, it defaults to ©'\''© (single quote). … … 5756 5757 \item 5757 5758 \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©} 5759 5760 consumes 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. 5760 5761 If the delimit character is omitted, it defaults to ©'"'© (double quote).
Note:
See TracChangeset
for help on using the changeset viewer.