cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar

For loop: set first entry

☐ cool new feature
☑ could help many users!

☐ removes a „bug“

☐ nice to have

☐ nobody needs it

 

What inspired this wish list request? 

During script debugging, I often want to look into a for loop and execute the code step by step for one of the items.

The JSL debugger is an ideal tool to do this.

 

But most of the time, I just want to execute a tiny part of the script (the for loop: step by step) - and I don't want to start an elaborate Debugging session.

All parameters are already set by the last run, just the looping parameter is missing. This is why most of my for loops look like this:

 

For Each( {mydt}, openTables,
  // mydt = openTables[1]

the commented code can can be executed to get the looping parameter defined with the first value during debugging.

 

 

What is the improvement you would like to see? 

Please add a command to the right click context menu:

hogi_0-1707555632830.png

 

 

Why is this idea important? 

It's not important, but every JSL coder will love you.

 

more wishes by  hogi_2-1702196401638.png