Changeset 61dafb8 for doc/user


Ignore:
Timestamp:
Nov 7, 2018, 5:13:08 PM (3 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer
Children:
3180aa1
Parents:
909aebf
Message:

finish test and documentation for loop-control

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/user/user.tex

    r909aebf r61dafb8  
    1111%% Created On       : Wed Apr  6 14:53:29 2016
    1212%% Last Modified By : Peter A. Buhr
    13 %% Last Modified On : Fri Nov  2 07:27:24 2018
    14 %% Update Count     : 3397
     13%% Last Modified On : Wed Nov  7 17:00:49 2018
     14%% Update Count     : 3399
    1515%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    1616
     
    582582for ( ®ui; 2u ~= 10u ~ 2u® ) { sout | ui; }
    583583for ( ®ui; 10u -~= 2u ~ 2u® ) { sout | ui; }
    584 int start = 3, comp = 10, inc = 2;
     584enum { N = 10 };
     585for ( ®N® ) { sout | "N"; }
     586for ( ®i; N® ) { sout | i; }
     587for ( ®i; N -~ 0® ) { sout | i; }
     588const int start = 3, comp = 10, inc = 2;
    585589for ( ®i; start ~ comp ~ inc + 1® ) { sout | i; }
    586590\end{cfa}
     
    606610
    607611sout | endl;
     612sout | endl;
     613sout | endl | endl;
     614
     615sout | endl;
    608616\end{cfa}
    609617&
     
    6266342 4 6 8 10
    62763510 8 6 4 2
     636
     637N N N N N N N N N N
     6380 1 2 3 4 5 6 7 8 9
     63910 9 8 7 6 5 4 3 2 1
    628640
    6296413 6 9
Note: See TracChangeset for help on using the changeset viewer.