Demivec wrote:On a side note, I'm interrested in a "On <indexvalue> ExecProc" kind of command as well. It would be used instead of the Select/Case. I think it has merits for speed and ease of reading. But that's another story.
Agreed!
I currently use an array of addresses and CallFunctionFast for a similar result. Nice to have this as native! But, as you say, another story.
Fluid Byte wrote:OMG, he even raped a second thread with the same response ...
Sorry, I got confused thinking they were different pages of the same thread, and that my response hadn't been posted on the first try, so I tried again. Didn't realize it was a repeat post.
netmaestro wrote:I don't believe either one belongs in a modern variant of the Basic language. There's far more power in PB today than was ever in early Basic's, so much in fact that using primitive commands like these is not only pointless but it leads to seriously bad programming styles.
+11
Edsger W.Dijkstra wrote:The unbridled use of the go to statement has as an immediate consequence that it becomes terribly hard to find a meaningful set of coordinates in which to describe the process progress.
Edsger W.Dijkstra wrote:The go to statement as it stands is just too primitive, it is too much an invitation to make a mess of one's program.
Don't use goto until you have learnt enough to know why using goto is bad, then hopefully you would have learn't never to use it!!!