Test running parts of a program
Posted: Sat Oct 22, 2011 6:59 pm
Let's say I want the program to read rows 1-2, and rows 8-9 then I can just put the sign:
'
in front of the rows 2, 3, 4, 5, 6, and 7 to skip these rows
syntax 1
syntax 2
'syntax 3
'syntax 4
'syntax 5
'syntax 6
'syntax 7
syntax 8
syntax 9
Is it possible to use some kind of command that skips all rows between row 3 and 7. That is, something like
syntax 1
syntax 2
' start skipping rows command
syntax 3
syntax 4
syntax 5
syntax 6
syntax 7
' end skipping rows command
syntax 8
syntax 9
This would save some time of putting in lots of
'
if there are many rows that should be skipped.
This would also be useful when test running parts of a program without having to copy parts of the program to another program window.
(Moreover, in order to more easily navigate in a large program, it would be nice to be able to edit the font size, bold/italics/not bold, colors etc for programs, but this part I should maybe have included in the suggestion part of the forum so i put this in parenthesis. It would also be nice with a fast command for running a program closer to where you have your fingers on the keyboard like alt+R. I need to lift up all my fingers from the keyboard to use F10+Enter, Alt+R is quicker and more natural since if you can type, you know where Alt+R is without looking at the keyboard-or maybe this is a luxury problem. I would like to have a command that ALWAYS stops a running program, since I sometimes need to use Crtl+Alt+Del to kill some programs with errors. I would also be convenient if one could just highlight some part of a program text, and then only this part of the program would run. I don't know, maybe there are good reasons for not having these features, but you could at least consider them. This part in parenthesis you do not need to give a reply to, these are only suggestions.)
'
in front of the rows 2, 3, 4, 5, 6, and 7 to skip these rows
syntax 1
syntax 2
'syntax 3
'syntax 4
'syntax 5
'syntax 6
'syntax 7
syntax 8
syntax 9
Is it possible to use some kind of command that skips all rows between row 3 and 7. That is, something like
syntax 1
syntax 2
' start skipping rows command
syntax 3
syntax 4
syntax 5
syntax 6
syntax 7
' end skipping rows command
syntax 8
syntax 9
This would save some time of putting in lots of
'
if there are many rows that should be skipped.
This would also be useful when test running parts of a program without having to copy parts of the program to another program window.
(Moreover, in order to more easily navigate in a large program, it would be nice to be able to edit the font size, bold/italics/not bold, colors etc for programs, but this part I should maybe have included in the suggestion part of the forum so i put this in parenthesis. It would also be nice with a fast command for running a program closer to where you have your fingers on the keyboard like alt+R. I need to lift up all my fingers from the keyboard to use F10+Enter, Alt+R is quicker and more natural since if you can type, you know where Alt+R is without looking at the keyboard-or maybe this is a luxury problem. I would like to have a command that ALWAYS stops a running program, since I sometimes need to use Crtl+Alt+Del to kill some programs with errors. I would also be convenient if one could just highlight some part of a program text, and then only this part of the program would run. I don't know, maybe there are good reasons for not having these features, but you could at least consider them. This part in parenthesis you do not need to give a reply to, these are only suggestions.)