cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
  • JMP will suspend normal business operations for our Rest and Recharge Day on Friday, October 2, 2026.
    Regular business hours will resume on Monday, October 5, 2026.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
hogi
Level XIII

AI + JSL

Thanks a lot  for your effort to make AI capable of programming JSL code.
The improvements over the last few months and weeks are incredible!

where did the improvements come from?

12 REPLIES 12
hogi
Level XIII

Re: AI + JSL

Read all code I provide before responding.

strongly depends on the LLM. Some LLMs are "greedy" - they don't dare to miss a detail.

Others: 
I read the first 60 lines of code - there is more?!?

hogi
Level XIII

Re: AI + JSL

To make Vibe Coding more secure:

Safe mode - for Vibe Coding 

hogi
Level XIII

Re: AI + JSL

## Trap 23: `<<Type("Dialog")` is NOT Modal — AI RECURRING FAILURE

> **This trap is responsible for repeated AI misdiagnosis.**

### Problem
The AI repeatedly assumes `<<Type("Dialog")` makes a window modal (blocking). It does NOT.

```jsl
// AI WRONGLY assumes this blocks:
New Window("My Tool", <<Type("Dialog"), ...)  // NOT modal!
New Window("My Tool", ...)                     // also NOT modal!

// Only these two block:
New Window("My Tool", <<Modal, ...)           // BLOCKS
New Window("My Tool", <<Type("Modal Dialog"), ...)  // BLOCKS
```

### Why the AI falls into this trap
The word "Dialog" SOUNDS like a blocking input dialog from other languages (Python's `tkinter`, C# `ShowDialog()`). In JSL, `<<Type("Dialog")` only changes the **visual style** of the window frame — it does NOT add any blocking behavior.

Recommended Articles