cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
UEJ
UEJ
Level II

Modular scripts with functions yielding data tables not working

Hi,

 

I have multiple include modules with functions, which are supposed to each yield a data table reference. In the main script these data tables are joined (see below). Joining, however, fails. I suppose, the error is about namespacing, but could not find a solution on my own.

 

Thanks in advance.

 

 

main.jsl:

 

include("module1.jsl");

include("module2.jsl");

 

dt1 = Function1(); // in module1.jsl

dt2 = Function2(); // in module2.jsl

 

dt3 = dt1 << Join(With(dt2), ...);

 

 

module1/2.jsl:

 
Function1/2 = Function({}, {},
dt = ...;
Return(dt);
);
1 REPLY 1
txnelson
Super User

Re: Modular scripts with functions yielding data tables not working

Without seeing Monule1 and Module2 it is pretty hard to see where the issue is.

Jim