Search found 25 matches

by hellomike
Fri 14 Jun 2019, 15:35
Forum: BBC BASIC language
Topic: Suppress SPOOL...
Replies: 0
Views: 60

Suppress SPOOL...

Hi, Probably it isn't easily possible but maybe I'm unaware off a nifty trick so lets post this anyhow.... To have all PRINT output on screen also saved as file, obviously *SPOOL is how to do that, as it was 30 years ago. Obviously it saves all VDU output, hence also the COLOUR VDU bytes (17,...). W...
by hellomike
Wed 29 May 2019, 13:20
Forum: Libraries
Topic: Big Integer Library
Replies: 3
Views: 663

Re: Big Integer Library

I sincerely hope that Richard will make it available for BB4W 6.x as well.
by hellomike
Sun 26 May 2019, 18:35
Forum: BBC BASIC language
Topic: Determining Variable Type
Replies: 7
Views: 575

Re: Determining Variable Type

this wiki page states:


CALL @fn%(4) ; Look up variable (esi points to name, returns type=al, varptr=ebp)


........
by hellomike
Sun 26 May 2019, 18:32
Forum: BBC BASIC language
Topic: Determining Variable Type
Replies: 7
Views: 575

Re: Determining Variable Type

Cross Reference only looks at the tokenized source. Program isn't running at that moment. Pretty sure it interprets the source about the same as interpreter does during run time. So it simply uses the actual last character of the variable name. %, $, &, <none>. Their purpose is not just readability ...
by hellomike
Sun 26 May 2019, 16:12
Forum: BBC BASIC language
Topic: Determining Variable Type
Replies: 7
Views: 575

Re: Determining Variable Type

Yes, I see. Looks tricky.
Seems you can get rid of all local variables starting with W, except W$, not?

Anyhow, can't think of a more straightforward way of achieving what you need.

Would be nice if Richard would still be on-board to give advise.

Mike
by hellomike
Sat 25 May 2019, 20:17
Forum: BBC BASIC language
Topic: Determining Variable Type
Replies: 7
Views: 575

Re: Determining Variable Type

Hi,

Maybe with a combination using the ^ operator and the "Variable storage in memory" help section....

Did you try/test that?

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

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: 1625

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: 4552

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 ...