Test 14: 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_14.tpk"
     2: def f():
     3: #line 8 "test_14.tpk"
     4: def g(): pass
     5: def h():
include chunk.tmp
     6: #line 11 "test_14.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_14.tpk"
     2:   pass
End python section to chunk.tmp[1]
End example.

3. Source List

test_14.tpk
chunk.tmp
chunk.tmp

4. Include List

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