Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IDE - just a thought on Next and Out of Subscript
#1
Would be helpful and not too onerous to have NEXT include the control variable to which it is attached? For example

For x = 1 to 50
 For y = 2 to 75
 .... code here..
 NEXT y
NEXT x

Sometimes the control variable provides important info on data being manipulated in the loop and the manipulation can be complex and nested deeply so that the NEXT statements come on  multiple pages of code.
 
For Temperature = 90 to 190 
  ... code here...

   For Windspeed = 20 to 150
      >>> code here <<<
   Next Windspeed

.... more code 

Next Temperature

Also, I'm not sure if the Error Warning which for me pops up a lot, and invariably is telling me the Subscript on Line 10250 is out of range. Would it be possible to have a feature where pushing enter or some such key will take me directly to the offending line?
Reply


Messages In This Thread
IDE - just a thought on Next and Out of Subscript - by Dimster - 05-14-2023, 03:22 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Thought I would share something interesting doppler 8 623 02-22-2026, 08:59 PM
Last Post: yaoiniymalchik
  IDE suggestions / editor questions madscijr 14 2,360 05-01-2025, 12:56 PM
Last Post: madscijr
  IDE almost flatlines 4 of 4 cpus - linux - any cure? desA 5 1,061 07-28-2024, 02:49 PM
Last Post: bplus
  An interesing thought doppler 13 2,382 07-26-2024, 02:47 PM
Last Post: DSMan195276
  Viewing SUBs in IDE TerryRitchie 0 476 05-27-2024, 06:24 PM
Last Post: TerryRitchie

Forum Jump:


Users browsing this thread: 1 Guest(s)