Discussions
Categories
Groups
Help
Home
User Community
Discussions
Why did JMP rewrite my scripts??
unknown
I had scripts that, for example, had
t = concat(t, a);
And now I see JMP changed it to
::t = ::t || ::a;
It still works, but I don't understand the change, and too much work to find them all and change back
Accepted answers
All comments
unknown
Anybody have an idea?
Jeff_Perkinson
Where was this script stored, in a JSL file or a script property on a data table or somewhere else?
What did you do that caused JMP to change the script?
unknown
Stored on a data table.
I didn't do anything...but did work with JMP for a while and just saved the table...
Jeff_Perkinson
You must be using JMP 7 (or perhaps earlier).
When you store a script attached to a data table, JMP parses the script and stores a parsed version. This has a side affect of sometimes changing the script when it's redisplayed, especially when there are equivalent functions and operators.
JMP 8 does a better job of restoring your script just as entered.
unknown
Did you right click on the script screen the select reformat script? I have seen some strange reformats when I do this, but none that change my variable declaration to using doulbe semi-colon (::) . I use JMP 7 though.
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Best Of