Subscribe Bookmark RSS Feed

Unknow Error

volf

Staff

Joined:

Jun 23, 2011

Could test JSL code as below? It warn 'Unknown Error'.
I run this scrip in JMP9.

How to bypass this error?

<--
new window("Delete Tab Test",
TAb1 = tabbox(
"tab1", textbox("aaaa"),
"tab2", textbox("aaaa"),
),
buttonbox( "del", TAb1<);
-->

Message was edited by: volf
3 REPLIES
volf

Staff

Joined:

Jun 23, 2011

Here is JSL Code
new window("Delete Tab Test",
TAb1 = tabbox(
"tab1", textbox("aaaa"),
"tab2", textbox("aaaa"),
),
buttonbox( "del", TAb1<);
ms

Super User

Joined:

Jun 23, 2011

I got that error message - "unknown error..save and restart JMP..." – when running the (truncated?) jsl-code that temporarily was shown in your first post.

However, the code in your second post runs just fine here (JMP9, Mac). The del button deletes the currently selected tab.
ms

Super User

Joined:

Jun 23, 2011

It seems that the error happens when the delete button is within one of the tabs. JMP can apparently not handle deleting this element from within itself.
This code gives the error message: