Reflection/Get source: Difference between revisions

m
include_files() now exists
m (include_files() now exists)
Line 347:
"C:\\Program Files (x86)\\Phix\\"}
</pre>
or the directories where your project is located. IfThere youis examine that source file (pincpathN.e) you will see a commented-out constant T_fileset and it should not be hard to imaginealso a matching include_files(but currently missing) sister function named include_files() that retrieves a set of {idx,name} where idx are indexes into the result from above, should that be of interest to you. Note that if it is a pre-compiled executable installed on an end users machine, those sources might not be available, but the internal routines still provide the same names since they are generally quite useful for diagnostic purposes.
 
A caught exception (see the documentation for throw) contains the line number, file, and path (with the same caveat as above when installed elsewhere).
7,806

edits