Can include files be referenced from procedure libraries?

Posted by Admin on 08-Jun-2010 17:28

We have a few projects with some key inlcudes that can be used to generate custom types.  For instance we have typed_list.i that can be used to create a list data structure for a specific type.  Ideally, we'd like to expose these includes for re-use through the PL file for the project they're a part of.  Is this possible?

All Replies

Posted by Stefan Drissen on 09-Jun-2010 18:09

No. Procedure libraries are intended for storing r-code and can also contain images. Unfortunately text files cannot be opened directly from a PL, they need to be extracted (with prolib) first.

Posted by Tim Kuehn on 10-Jun-2010 07:48

everettmuniz wrote:

We have a few projects with some key inlcudes that can be used to generate custom types.  For instance we have typed_list.i that can be used to create a list data structure for a specific type.  Ideally, we'd like to expose these includes for re-use through the PL file for the project they're a part of.  Is this possible?

You'd need to put the .i's functionality into a .p or .cls and then access it from other programs in the .pl that way.

This thread is closed