Oops. That was a last-second change from the original, tested code. I decided that Frepeat was a better name than Funhandled and didn't bother to test. Sorry about that.Except "FRE" is a keyword and line 19 will cause a Syntax Error.
switch... case 1:
-
- Member
- Posts: 55
- Joined: Wed Jun 11, 2014 2:33 pm
- Location: Lake Macquarie, NSW, Australia
- Contact:
Re: switch... case 1:
Re: switch... case 1:
You're not the first to make this mistake, I've made some similar errors at least twice here. Even if the syntax was wrong, I still got the gist of what your example.MarcWalters wrote:Oops. That was a last-second change from the original, tested code. I decided that Frepeat was a better name than Funhandled and didn't bother to test. Sorry about that.Except "FRE" is a keyword and line 19 will cause a Syntax Error.
Regards,
Shaun.
BASIC Programming - making the mistakes so that you don't have to.
Circles and Squares.
Nothing I post here will stand up in a court of law.
Circles and Squares.
Nothing I post here will stand up in a court of law.
Re: switch... case 1:
Variable names longer than two letters use up extra memory - two is the maximum BASIC "sees". For speed and optimisation, stick to two letters.
Re: switch... case 1:
That is a very good point.merman wrote:Variable names longer than two letters use up extra memory - two is the maximum BASIC "sees". For speed and optimisation, stick to two letters.
Who is online
Users browsing this forum: No registered users and 7 guests