SaveScum / skyrim-plugin-decoding-project

Automatically exported from code.google.com/p/skyrim-plugin-decoding-project
0 stars 0 forks source link

Multifile Scripts #109

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I've been working with the scripting support of TES5Edit and my script has 
grown to 1000+ lines. I'd like to start splitting this up into different 
files/units, but this doesn't appear to be working.

I was hoping something like

uses MyLib1, MyLib2;

would look for the relevant mylib1.pas and mylib2.pas files that defined those 
units respectively. However that doesn't work complaining it can't find the 
units.

I tried using

uses
  MyLib1 in "mylib1.pas",
  MyLIb2 in "C:\<path to tes5edit scripts>\mylib2.pas";

That didn't work either. According to JvInterpreter tests and a lone 
StackOverflow question JvInterpreter should support loading units from external 
files. Perhaps there is just some configuration setup required first.

I would look into adding this myself, but as far as I can tell I need to 
actually spend some money on Delphi XE and DevExpress? which unfortunately I 
can't justify for just one hobby project.

Original issue reported on code.google.com by cehoff...@gmail.com on 12 Feb 2013 at 8:53

GoogleCodeExporter commented 9 years ago
Will do.

Original comment by zila...@gmail.com on 14 Feb 2013 at 12:48

GoogleCodeExporter commented 9 years ago

Original comment by zila...@gmail.com on 14 Feb 2013 at 5:27

GoogleCodeExporter commented 9 years ago
Fixed in r1209

Original comment by zila...@gmail.com on 15 Feb 2013 at 6:16