cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • DownloadSemiconductor Toolkit: Tools to create wafer maps, add wafer geometry to graphics, explore die defects & compare wafers.
  • Discovery Summit 2026: Early User Edition - September 23-24.Register. It's free.
  • Use JMP Clinical with CDISC-compliant data. Review studies, ID safety and efficacy signals & communicate findings with interactive graphics. Register to see how. Aug. 27, 2 pm US ET.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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

Recommended Articles