|
#1
|
||||
|
||||
|
GoToAndRun()
How about this action?
GoToAndRun(LineNumber = number) [ Goes to Line number X and runs the script ] This could be helpful, Big Time Thanks, |
|
#3
|
||||
|
||||
|
I think you'd be better off using functions. Using a line number as the target for a goto is just asking for trouble. (Add or remove one line from the beginning of the script, and all of your GoToAndRun calls need to be changed.)
__________________
--[[ Indigo Rose Software Developer ]] |
|
#4
|
||||
|
||||
|
Quote:
Right now I use functions, and I'm very pleased |
|
#5
|
||||
|
||||
|
AMS used to use labels and goto commands. I missed them when they were first removed in AMS 5. After time, I realized that not only was the goto/label structure a piece of antiquated programming architecture, but with use of functions, and some more economical coding practices, it was also outmoded. I haven't thought about it in awhile, so I guess I don't miss goto/label too badly at all!
|
|
#6
|
|||
|
|||
|
Grace Hopper is rolling over in her grave right now...
OMG am I showing my age? |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT -6. The time now is 10:51 AM.









Linear Mode
