Changes in doc/user/user.tex [c6dc7f2:08065aa4]
- File:
-
- 1 edited
-
doc/user/user.tex (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
doc/user/user.tex
rc6dc7f2 r08065aa4 11 11 %% Created On : Wed Apr 6 14:53:29 2016 12 12 %% Last Modified By : Peter A. Buhr 13 %% Last Modified On : Sat Jul 13 18:36:18201914 %% Update Count : 387 613 %% Last Modified On : Tue Jun 25 08:51:33 2019 14 %% Update Count : 3871 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 … … 2697 2697 \subsection{Expressions} 2698 2698 2699 % Change order of expression evaluation.2700 % http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0145r2.pdf2701 2702 2699 Multiple-return-value functions provide \CFA with a new syntax for expressing a combination of expressions in the return statement and a combination of types in a function signature. 2703 2700 These notions are generalized to provide \CFA with \newterm{tuple expression}s and \newterm{tuple type}s. … … 3509 3506 3510 3507 \item 3511 A separator does not appear before or after a null (empty) C string , which is a local mechanism to disable insertion of the separator character.3508 A separator does not appear before or after a null (empty) C string. 3512 3509 \begin{cfa} 3513 3510 sout | 1 | "" | 2 | "" | 3; 3514 3511 123 3515 3512 \end{cfa} 3513 which is a local mechanism to disable insertion of the separator character. 3516 3514 3517 3515 \item 3518 3516 {\lstset{language=CFA,deletedelim=**[is][]{¢}{¢}} 3519 A sep arator does not appear before a C string starting with the (extended) \Index*{ASCII}\index{ASCII!extended} characters: \lstinline[basicstyle=\tt]@,.;!?)]}%¢»@, where \lstinline[basicstyle=\tt]@»@ is a closing citation mark.3517 A seperator does not appear before a C string starting with the (extended) \Index*{ASCII}\index{ASCII!extended} characters: \lstinline[basicstyle=\tt]@,.;!?)]}%¢»@ 3520 3518 \begin{cfa}[belowskip=0pt] 3521 3519 sout | 1 | ", x" | 2 | ". x" | 3 | "; x" | 4 | "! x" | 5 | "? x" | 6 | "% x" … … 3525 3523 1®,® x 2®.® x 3®;® x 4®!® x 5®?® x 6®%® x 7§\color{red}\textcent§ x 8®»® x 9®)® x 10®]® x 11®}® x 3526 3524 \end{cfa}}% 3527 3528 \item 3529 A separator does not appear after a C string ending with the (extended) \Index*{ASCII}\index{ASCII!extended} characters: \lstinline[mathescape=off,basicstyle=\tt]@([{=$£¥¡¿«@, where \lstinline[basicstyle=\tt]@¡¿@ are inverted opening exclamation and question marks, and \lstinline[basicstyle=\tt]@«@ is an opening citation mark. 3525 where \lstinline[basicstyle=\tt]@»@ is a closing citation mark. 3526 3527 \item 3528 A separator does not appear after a C string ending with the (extended) \Index*{ASCII}\index{ASCII!extended} characters: \lstinline[mathescape=off,basicstyle=\tt]@([{=$£¥¡¿«@ 3530 3529 %$ 3531 3530 \begin{cfa}[mathescape=off] … … 3538 3537 \end{cfa} 3539 3538 %$ 3539 where \lstinline[basicstyle=\tt]@¡¿@ are inverted opening exclamation and question marks, and \lstinline[basicstyle=\tt]@«@ is an opening citation mark. 3540 3540 3541 3541 \item … … 3651 3651 The tuple separator also responses to being turned on and off. 3652 3652 \begin{cfa}[belowskip=0pt] 3653 sout | t1 | sepOff | t2; §\C{// turn off implicit separator for the next item}§3653 sout | t1 | sepOff | t2; §\C{// locally turn on/off implicit separator}§ 3654 3654 \end{cfa} 3655 3655 \begin{cfa}[showspaces=true,aboveskip=0pt,belowskip=0pt] … … 3675 3675 \subsection{Newline Manipulators} 3676 3676 3677 The following \Index{manipulator s} control\Index{newline separation} for input and output.3677 The following \Index{manipulator} controls \Index{newline separation} for input and output. 3678 3678 3679 3679 For input: … … 3773 3773 3774 3774 \item 3775 \Indexc{nobase}( integer )\index{manipulator!nobase@©nobase©} do not precede ©bin©, ©oct©, ©hex© with ©0b©/©0B©, ©0©, or ©0x©/©0X©. 3776 Printing the base is the default. 3775 \Indexc{nobase}( integer )\index{manipulator!nobase@©nobase©} do not precede ©bin©, ©oct©, ©hex© with ©0b©/©0B©, ©0©, or ©0x©/©0X©. Printing the base is the default. 3777 3776 \begin{cfa}[belowskip=0pt] 3778 3777 sout | nobase( bin( 27 ) ) | nobase( oct( 27 ) ) | nobase( hex( 27 ) );
Note:
See TracChangeset
for help on using the changeset viewer.