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



Users browsing this thread: 9 Guest(s)