Subscribe Bookmark RSS Feed

JMP exit code

vishwasanj

Frequent Contributor

Joined:

Dec 27, 2016

Hi All,

 

My script works just fine but I do get this exit code -2147023895. Any idea what this is? I believe the exit code should be wither 0 or 1.

 

Maybe I am using a function in the wrong context.

 

Thank you.

 

3 REPLIES
Byron_JMP

Staff

Joined:

Apr 26, 2012

Maybe a little more context might be helpful.

Are you trying to "exit()" jmp?  (PC or Mac?) 

What does your script do, and what is the "exit function" you are using?

vishwasanj

Frequent Contributor

Joined:

Dec 27, 2016

Hi Byron,

Yes. I am using exit() . I am trying to plot a bunch of png graphs,text file in a folder through json input.

Byron_JMP

Staff

Joined:

Apr 26, 2012

Your application sounds pretty interesting. The Behavior of "exit()" is puzzeling. Both Exit() and Quit() terminate the exitsting JMP session without returning anything unless there are tables that are open and unsaved. Then in that case you will see a dialog window to save, cancel, etc.. 

 

if "exit()" is commented out, does the script still return a numeric value?