![]() |
Forum Index : Microcontroller and PC projects : I'm now a Committed Follower
![]() ![]() |
|||||
Author | Message | ||||
Tinine Guru ![]() Joined: 30/03/2016 Location: United KingdomPosts: 1646 |
Yeah, I was shocked, after writing lots of ON-GOTO stuff to find that SELECT CASE was faster ![]() I have used compilers that create jump-tables for ON-GOTO which are way faster than SELECT CASE. Craig |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4044 |
Quite a few compilers turn CASE statements into jump tables. Though in most cases now the CPUs are so fast it really doesn't matter :) John |
||||
hitsware2![]() Guru ![]() Joined: 03/08/2019 Location: United StatesPosts: 719 |
https://www.tutorialspoint.com/execute_basic_online.php http://www.quitebasic.com/ https://www.calormen.com/jsbasic/ The ' IDE ' could have numbers while the program disregards them ? my site |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7938 |
If you wrote your BASIC that way then yes. Of course, if BASIC is going to ignore them then you can't GOTO or GOSUB them. It's like using an editor with line numbers. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Tinine Guru ![]() Joined: 30/03/2016 Location: United KingdomPosts: 1646 |
I could be wrong but I seem to remember that PowerBasic does this. I need to catch up with that product. I kinda lost interest when Bob Zale passed, way too soon. ![]() Craig |
||||
![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |