- Timestamp:
- Dec 13, 2025, 4:56:22 PM (3 months ago)
- Branches:
- master, stuck-waitfor-destruct
- Children:
- 5d300ba
- Parents:
- 67748f9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/mike_brooks_MMath/programs/hello-accordion.cfa
r67748f9 r35fc819 31 31 int getPref( @School( C, S ) & school@, int is, int pref ) { 32 32 for ( ic; C ) { 33 if ( pref == @school.preferences@[ic][is] ;) return ic; $\C{// offset calculation implicit}$33 if ( pref == @school.preferences@[ic][is] ) return ic; $\C{// offset calculation implicit}$ 34 34 } 35 assert( false ); 35 assert( false ); // must find a match 36 36 } 37 37 … … 89 89 90 90 for ( is; ns ) { 91 sout | school.student_ids[is] | ": " | nonl;91 sout | school.student_ids[is] | ": "; 92 92 for ( pref; 1 ~= nc ) { 93 93 int ic = getPref( school, is, pref );
Note:
See TracChangeset
for help on using the changeset viewer.