This format can be used to store compiled scripts, like object files in conventional programming languages. Although this ability isn't yet available in any released PCC2 version as of December 2011, tools to manipulate this format exist within the PCC2 source archive.
+0 6 BYTEs Signature 'CCobj',26 +6 BYTE Format version (100) +7 BYTE Unused +8 WORD Number of bytes following in header (currently 4) +10 DWORD "entry" Object Id of entry point --- end of header --- +14 n BYTEs Objects
Objects are the same types and format as in SCRIPTx.CC, although process objects (type 2) are not allowed.
When a .QC file is loaded, the interpreter generates a call to the bytecode object with Id "entry".