Debian Codegraph @

src/test/01-Basic/59.ck.disabled

raw
1 PRC perry;
2 Skot skot;
3
4 // declare this out here
5 string out;
6
7 // infinite event loop
8 while( true )
9 {
10 // prompt for line
11 skot.prompt( "enter line:" ) => now;
12
13 // loop over lines
14 while( skot.more() )
15 {
16 // set the line
17 skot.getLine() => perry.set;
18 // process line
19 while( perry.more() )
20 {
21 // get it
22 perry.next( out );
23 <<< out >>>;
24 }
25 }
26 }