Ich möchte eine Tabelle, die ich im aktuellen JSL-Skript verwende, in einem anderen Skript aufrufen. Gibt es eine Möglichkeit, wie ich das tun kann? Ich habe einen Ausschnitt des Codes angehängt, ich möchte den dt1_Name (oder dt) in einem anderen jsl-Skript verwenden, das ich mit diesem Skript verknüpft habe:
dt1_Name= Pick File(
"Select the JMP MasterFile",
"",
{"JMP Files|jmp;jsl;jrn", "All Files|*"},
1,
0,
""
);
Show( dt1_Name );
dt = Open( dt1_Name );
Show( dt );
bwidth = 150;
dt << bring window to front;
box_win = New Window( "Select Columns",
H List Box(
Panel Box( "Select Columns", ColListData = Col List Box( dt, All, Grouped,width( bwidth ), nLines( 5 ) ) ),
V List Box(
Panel Box( "Case Selected Columns Into Roles",
Lineup Box( N Col( 2 ), Spacing( 3 ),
Button Box( "START DATE", colLista << Append( ColListData << Get Selected ) ),
ColLista = Col List Box( width( bwidth ), N Lines( 1 ), Max Items( 1 ), Min Items( 1 ) ),
Button Box( "END DATE", colListb << Append( ColListData << Get Selected ) ),
ColListb = Col List Box( width( bwidth ), N Lines( 1 ), Max Items( 1 ), Min Items( 1 ) ),
Button Box( "PAY DATE", colListc << Append( ColListData << Get Selected ) ),
ColListc = Col List Box( width( bwidth ), N Lines( 1 ), Max Items( 1 ), Min Items( 1 )),
Button Box( "STATUS", colListd << Append( ColListData << Get Selected ) ),
ColListd = Col List Box( width( bwidth ), N Lines( 1 ), Max Items( 1 ), Min Items( 1 ) ),
Button Box( "Remove",
ColLista << RemoveSelected;
ColListb << RemoveSelected;
ColListc << RemoveSelected;
),
Spacer Box()
)
),
Lineup Box( N Col( 3 ), Spacing( 0, 3 ),
Spacer Box( <<SET auto="" stretching=""></SET>