Search found 18 matches

by hellomike
Sat 11 May 2019, 18:03
Forum: Tools and Utilities
Topic: Cross Reference
Replies: 4
Views: 119

Re: Cross Reference

Long time ago I had one of the Utilities not working and remember I fixed it by checking BB4W registry settings.
Search the Help for "registry" to obtain the correct locations and then use Regedit to check the keys.

Hope this helps.

Mike
by hellomike
Thu 14 Feb 2019, 21:55
Forum: BBC BASIC language
Topic: Structure prototypes in Structure DIMs
Replies: 2
Views: 1335

Re: Structure prototypes in Structure DIMs

Hi,

Actually it very much is in the manual!

http://www.bbcbasic.co.uk/bbcwin/manual ... tructproto

Regards,

Mike
by hellomike
Fri 08 Feb 2019, 16:26
Forum: User Interface
Topic: Screen dimensions
Replies: 15
Views: 3550

Re: Screen dimensions

Yes, the old-days notation PRINT $$(cb%+4), I grasp. The string data that "EnumDisplayDevicesA" returns lay within the 424 bytes of the structure. Its no use the put pointers in the structure beforehand to instruct the "EnumDisplayDevicesA" function as to where to store its string data. So I'm very ...
by hellomike
Tue 05 Feb 2019, 19:27
Forum: User Interface
Topic: Screen dimensions
Replies: 15
Views: 3550

Re: Screen dimensions

Hi, Actually I don't understand how the modification done by DDRM does give a reasonable output and not a crash since the structure doesn't seem in the correct format. DIM displaydeviceA{cb%,devicename%,devicestring%,stateflags%,deviceid%,devicekey%} defines a structure of 4+4+4+4+4+4=24 bytes, whil...
by hellomike
Fri 04 Jan 2019, 13:49
Forum: Database and Files
Topic: INPUT# and line feeds
Replies: 11
Views: 3075

Re: INPUT# and line feeds

Hi,

What you experience and/or need might be documented here:

http://www.bbcbasic.co.uk/wiki/doku.php ... xt_20files

Hope this helps.

Mike
by hellomike
Fri 27 Jul 2018, 09:53
Forum: Assembly language
Topic: Older code now crashes!
Replies: 4
Views: 2585

Re: Older code now crashes!

Well, it gets even better. I simplified the code as follows: DIM Dimmed% 15 P%=Dimmed% [OPT 3 ret ] CALL Dimmed% SYS "GlobalAlloc", 0, 16 TO GAlloc% IF GAlloc%==0 ERROR 100,"GlobalAlloc failed" P%=GAlloc% [OPT 3 ret ] REMCALL GAlloc% SYS "GlobalFree", GAlloc% END This works but when I remove the REM...
by hellomike
Wed 25 Jul 2018, 08:57
Forum: Assembly language
Topic: Older code now crashes!
Replies: 4
Views: 2585

Re: Older code now crashes!

Thanks folks. Yes, my Win10 has a very deeply rooted abnormality somewhere. VirtualRPC stopped working (crashes) and the Win10 1803 update just doesn't install. I would almost suspect a virus, almost. But this is so basic. For a while I suspected the two values on the stack because when the code ret...
by hellomike
Mon 23 Jul 2018, 20:18
Forum: Assembly language
Topic: Older code now crashes!
Replies: 4
Views: 2585

Older code now crashes!

Hi, IN 2014, I contributed the following program to Rosettacode. http://rosettacode.org/wiki/Machine_code#BBC_BASIC As you can see, a very small and simple program. Of course I tested it thoroughly. Today, in 2018, I find that exactly the same code now crashes BB4W! Differences 2014 vs 2018 (now): W...
by hellomike
Fri 20 Jul 2018, 15:04
Forum: Libraries
Topic: UTF-8 String functions.
Replies: 5
Views: 2016

Re: UTF-8 String functions.

Could be handy indeed!

Just out of curiosity, why do you use floats for some parameters instead of integers?

Mike
by hellomike
Fri 29 Jun 2018, 08:14
Forum: User Interface
Topic: No such system call
Replies: 6
Views: 2791

Re: No such system call

Hi Z,

That's an awesome find! Microsofts considerations to ban such functions are understandable but not their failing to clearly mention this in the documentation for these functions.

Cheers,

Mike