Search found 86 matches

by hellomike
Sun 19 Apr 2020, 10:11
Forum: Libraries
Topic: Proposal to change IMGLIB libraries
Replies: 3
Views: 672

Re: Proposal to change IMGLIB libraries

I just made a little program to test the library.

Feel free to make the proposed changes. Also every additional functionality is welcome.

Mike
by hellomike
Sun 12 Apr 2020, 10:43
Forum: BBC BASIC language
Topic: Nested FOR loop
Replies: 7
Views: 798

Re: Nested FOR loop

The theory for this is in the help or here Order of evaluation
by hellomike
Fri 10 Apr 2020, 10:50
Forum: User Interface
Topic: Unicode and UTF-8
Replies: 2
Views: 322

Re: Unicode and UTF-8

Thanks for the recap Richard! I have to admit that I struggled and sometimes still struggle with these concepts. I remember being an 'expert' with BASIC but couldn't grasp what POKE and PEEK really did. Once I understood the concept of memory locations and bytes in that memory, it was easy. As alway...
by hellomike
Sat 04 Apr 2020, 21:14
Forum: BBC BASIC language
Topic: Issue with new 6.13a variables?
Replies: 9
Views: 750

Re: Issue with new 6.13a variables?

The sources are not all in the same directory. I seem to remember that in order to make @dir$ point to the right current directory for each program, CHAIN or CALL didn't work as @dir$ keep pointing to the launcher app or even no path in case of the @lib$ system variable. Only launching 'bbcwrun6.exe...
by hellomike
Sat 04 Apr 2020, 14:06
Forum: BBC BASIC language
Topic: Issue with new 6.13a variables?
Replies: 9
Views: 750

Re: Issue with new 6.13a variables?

For the BB4W programs that I use frequently I have a (compiled) launcher app that starts them using the OSCLI mentioned. ....... BB4WEXE$="""C:\Program Files (x86)\BBC BASIC for Windows\bbcwrun6.exe"" " BB4WIDE$="""C:\Program Files (x86)\BBC BASIC for Windows\bbcwin6.exe"" " ....... IF INKEY(-1) Cmd...
by hellomike
Sat 04 Apr 2020, 07:51
Forum: BBC BASIC language
Topic: Issue with new 6.13a variables?
Replies: 9
Views: 750

Re: Issue with new 6.13a variables?

Once again you were on the right track Richard! Throughout the day I have a program active which I hardly notice anymore! I ran 'upgrade.exe' again with this program active and this is the DIR afterwards: Directory of C:\Program Files (x86)\BBC BASIC for Windows 04-04-2020 09:35 <DIR> . 04-04-2020 0...
by hellomike
Fri 03 Apr 2020, 17:28
Forum: BBC BASIC language
Topic: Issue with new 6.13a variables?
Replies: 9
Views: 750

Re: Issue with new 6.13a variables?

Yes, adding '*HELP' indeed explains it Richard. When running in the IDE, it is version 6.13a. I also added '*HELP' in the calling program. The calling program reports 6.13a and the output in the 2nd window, from the called program reports 6.12a. Both sources are in the same directory. So I guess bbc...
by hellomike
Fri 03 Apr 2020, 13:08
Forum: BBC BASIC language
Topic: Issue with new 6.13a variables?
Replies: 9
Views: 750

Issue with new 6.13a variables?

Most probably I'm missing something but I need some explanation why the following doesn't work. First I have this program: PRINT @vdu.o.x% PRINT @char.x% END Running it prints two values. All is well. Then I have the following program that executes the previous program (called 'NewProg.bbc') through...
by hellomike
Wed 18 Mar 2020, 19:11
Forum: BBC BASIC language
Topic: Corona simulation challenge
Replies: 11
Views: 1047

Re: Corona simulation challenge

But with the POINT() or TINT() approach, I think there is no need for an inner FOR J% loop which speeds things up again.

Anyhow thanks for all the advise. The challenge was of course already accomplished by your smart solution.
by hellomike
Wed 18 Mar 2020, 13:25
Forum: BBC BASIC language
Topic: Corona simulation challenge
Replies: 11
Views: 1047

Re: Corona simulation challenge

Yes Richard, you are right. I see what you mean. I wonder if the collision math can be more like: newx = x(I%) + u(I%) : newy = y(I%) + v(I%) IF POINT(newx + SIZE, newy + SIZE) <> 15 THEN REM I'm about to bump into someone at the new position.... .... ENDIF .... Did some testing in that direction bu...