Test 16: Chunking

1. The main program

This code includes and external file, chunk.tmp, defining the body of function f. You should see the #line directive for it on line 3.
Start python section to chunked.tmp[1] 1
     1: #line 6 "test_16.tpk"
     2: def f():
     3: #line 8 "test_16.tpk"
     4: def g(): pass
     5: def h():
include chunk.tmp
     6: #line 11 "test_16.tpk"
     7: def k(): pass
End python section to chunked.tmp[1]

2. The included chunk

Here's the included chunk, defined after use.
Start python section to chunk.tmp[1] 1
     1: #line 15 "test_16.tpk"
     2:   pass
End python section to chunk.tmp[1]
End example.

3. Source List

test_16.tpk: 19
chunk.tmp: 0
chunk.tmp: 0

4. Include List

    interscript: test_16.tpk
       code: python: chunk.tmp