Posts: 1,616
Threads: 157
Joined: Apr 2022
Reputation:
77
Grandstander! Yeah, I read those, yesterday, too. Very nice list to boot. Better Minesweeper than MS came up with, and Simon looks exactly like the real thing.
Well Cranberry, of course. What would you expect from a traditionalist, stuck in SCREEN Zero?
Pete
Posts: 230
Threads: 25
Joined: Aug 2022
Reputation:
23
Absolutely brilliant tutorial. Thank you for creating this. Since making games is my main interest with QB64, this is a blessing.
Posts: 1,510
Threads: 53
Joined: Jul 2022
Reputation:
47
09-29-2022, 12:52 AM
Thank you for designing this tutorial, well-explained like the everlasting patience of a teacher. Lots of bright colors on black background hurt my eyes but it's my fault I lived a half-century so far.
I don't know, I believe information about the empty string should be given (how it differs from CHR$(0)), and especially caution using it with "ASC()".
If there's going to be information about QB64-only functionality, also indicate the second parameter to "ASC()" has to be within range of the string in the first parameter, for the same reason.
This is something a beginner could trip with. Take it from me, from programming on the Color Computer 2 then 3, and becoming disgusted M$QB also returned "error #5" for <code>ASC("")</code>.
Posts: 593
Threads: 44
Joined: Apr 2022
Reputation:
43
09-29-2022, 02:19 AM
(This post was last modified: 09-29-2022, 02:21 AM by TerryRitchie.)
(09-29-2022, 12:52 AM)mnrvovrfc Wrote: Thank you for designing this tutorial, well-explained like the everlasting patience of a teacher. Lots of bright colors on black background hurt my eyes but it's my fault I lived a half-century so far.
I don't know, I believe information about the empty string should be given (how it differs from CHR$(0)), and especially caution using it with "ASC()".
If there's going to be information about QB64-only functionality, also indicate the second parameter to "ASC()" has to be within range of the string in the first parameter, for the same reason.
This is something a beginner could trip with. Take it from me, from programming on the Color Computer 2 then 3, and becoming disgusted M$QB also returned "error #5" for <code>ASC("")</code>.
Could you show some code examples of what you are referring to? I've never encountered any issues with these commands but if there are some I'll add that information.
Also, does the yellow text on dark blue also bother others?
Posts: 456
Threads: 63
Joined: Apr 2022
Reputation:
10
Hi Terry.
I find the colours quite acceptable (and I'm past the "3 score and ten" age). I'm enjoying working through your examples; they clarify things a lot for me.
I found something interesting while looking at lesson 3, the "NoNoGoto" example: When I changed the start value (count%) to an EVEN negative number (eg -4) everything was sweet, but when I used an ODD negative number (eg -3), the first result (for -3) was EVEN. Curiouser and curiouser!
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, W.A.)
Posts: 1,616
Threads: 157
Joined: Apr 2022
Reputation:
77
My letterman's jacket is blue and gold, so no. Don't tell David, he'll want it back.
Pete
Posts: 593
Threads: 44
Joined: Apr 2022
Reputation:
43
(09-29-2022, 02:56 AM)PhilOfPerth Wrote: Hi Terry.
I find the colours quite acceptable (and I'm past the "3 score and ten" age). I'm enjoying working through your examples; they clarify things a lot for me.
I found something interesting while looking at lesson 3, the "NoNoGoto" example: When I changed the start value (count%) to an EVEN negative number (eg -4) everything was sweet, but when I used an ODD negative number (eg -3), the first result (for -3) was EVEN. Curiouser and curiouser!
Well that's odd? -3 MOD 2 is -1, so with a remainder <> 0 it should GOTO ODD
Posts: 1,616
Threads: 157
Joined: Apr 2022
Reputation:
77
Not odd at all, even. It's because it is set up to always go even on the first iteration, because no matter what you set the start value as, the initial remainder, which determines odd or even, is always zero.
Pete
If eggs are brain food, Biden takes his scrambled.
Posts: 593
Threads: 44
Joined: Apr 2022
Reputation:
43
(09-29-2022, 03:44 AM)Pete Wrote: Not odd at all, even. It's because it is set up to always go even on the first iteration, because no matter what you set the start value as, the initial remainder, which determines odd or even, is always zero.
Pete
Yep, yep. I see it now.
Posts: 456
Threads: 63
Joined: Apr 2022
Reputation:
10
09-29-2022, 05:17 AM
(This post was last modified: 09-29-2022, 05:19 AM by PhilOfPerth.)
I knew that !!!
(well, I would've, eventually).
Thanks, Pete.
Of all the places on Earth, and all the planets in the Universe, I'd rather live here (Perth, W.A.)
|