jmp-l
[Top] [All Lists]

Re: No Range Check stops my script

To: jmp-l@lists.biostat.wustl.edu
Subject: Re: No Range Check stops my script
From: "Wayne J. Levin" <levin@predictum.com>
Date: Thu, 10 Apr 2008 22:47:04 -0400
In-reply-to: <7941B2693F32294AAF16C26B679A258D01D4D105@csomb01.corp.atmel.com>
References: <7941B2693F32294AAF16C26B679A258D01D4D0C4@csomb01.corp.atmel.com> <45CE05CA-6C03-4443-8A0C-4C04CE0B6E0E@predictum.com> <7941B2693F32294AAF16C26B679A258D01D4D105@csomb01.corp.atmel.com>
Glad it works for you - we've been able to exploit the Script/Arg combination a number of times with our client projects. 

Enjoy!

Wayne

On 10-Apr-08, at 10:43 PM, Doyle, Kevan wrote:
Wayne,
    Works great! I hadn't thought to manipulate the column script. This opens up new possibilities.
    Thanks for the help.

Kevan
----------------------------------------------------------------------
email:
Kevan.Doyle@atmel.com
tel:  (CSO) 719-540-1374
fax:  (CSO) 719-540-1313
cell: (CSO) 719-649-9186
 


From: jmp-l-owner@lists.biostat.wustl.edu [mailto:jmp-l-owner@lists.biostat.wustl.edu] On Behalf Of Wayne J. Levin
Sent: Thursday, April 10, 2008 7:14 PM
To: jmp-l@lists.biostat.wustl.edu
Cc: _JMP_List
Subject: Re: [jmp-l] No Range Check stops my script

Interesting issue, Kevan. Sometimes Try() doesn't try hard enough.

An alternative is to do something like this (seems like a long way to go - but, hey, i'm doing this while watching The Office):
colTemp_Script = colTemp << get script();
for (i_arg = 1, i_arg <= N arg ( colTemp_Script ), i_arg++,
  show ( contains ( char ( arg ( colTemp_Script , i_arg) ), "Range Check")
));


Wayne J. LevinPredictum, Inc.www.predictum.com
n 10-Apr-08, at 8:09 PM, Doyle, Kevan wrote:
Hello All,
    I'm having problems with GetRangeCheck() that I am trying to execute on all the Numeric columns in a table. If a column has no Range Check, my script stops. Here's the script:
 

dt = CurrentDataTable();
colTemp = Column(dt,1);
Try(colTemp << GetRangeCheck(), Write("No Range Check; move on"));
// The next line is not executed in JMP7.0.2; the script has stopped!
Show(colTemp << GetName());


    I am using JMP7.0.2. The script works fine in JMP5.1 and JMP6.0.2.
    Any suggestions?
 
Thanks for the help,
Kevan
----------------------------------------------------------------------
email: Kevan.Doyle@atmel.com
 


<Prev in Thread] Current Thread [Next in Thread>