Search found 79 matches

by Zaphod
Tue 28 May 2019, 13:02
Forum: BBC BASIC language
Topic: Finding if a Font is Available
Replies: 2
Views: 770

Re: Finding if a Font is Available

The answer is in the Wiki. INSTALL @lib$+"CALLBACK" DIM font$(999) index% = 0 SYS FN_syscalls("EnumFonts"), @memhdc%, 0, FN_callback(FNenumfontfunc(), 4), \ \ 0 TO !FN_systo(result%) PRINT "Exit code = ";result% PRINT "Number of fonts enumerated = ";index% FOR I% =0 TO index%-1 IF font$(I%)="Termina...
by Zaphod
Thu 23 May 2019, 17:54
Forum: Database and Files
Topic: COMLIB--Excel webdata download
Replies: 2
Views: 1043

Re: COMLIB--Excel webdata download

Perhaps you need to Activate WorkSheet(1)?

Z
by Zaphod
Fri 26 Apr 2019, 23:57
Forum: Graphics and Games
Topic: Leading spaces INPUT
Replies: 3
Views: 1161

Re: Leading spaces INPUT

It looks like the FNinput in the NOWAIT library will do that for you.

Z
by Zaphod
Sun 21 Apr 2019, 23:40
Forum: BBC BASIC language
Topic: Multi column listbox?
Replies: 5
Views: 1462

Re: Multi column listbox?

Glad you found a solution and the Tabbed one is the one I usually use. To find and define the value of windows constants you need to run the "Add Windows Constants" utility that you will find on the Utilities menu most likely. You will find that LBS_MULTICOLUMN=512. The only problem with tabbed inpu...
by Zaphod
Sun 21 Apr 2019, 14:15
Forum: BBC BASIC language
Topic: Multi column listbox?
Replies: 5
Views: 1462

Re: Multi column listbox?

Well you could try what the manual tells you and use the LBS_MULTICOLUMN style!

Z
by Zaphod
Tue 09 Apr 2019, 20:00
Forum: BBC BASIC language
Topic: How to re dimension an array?
Replies: 2
Views: 1043

Re: How to re dimension an array?

This is what you are looking for: http://www.bbcbasic.co.uk/wiki/doku.php ... 20arrays&s
Z
by Zaphod
Tue 19 Feb 2019, 17:45
Forum: Graphics and Games
Topic: RECTANGLE and RECTANGLE FILL
Replies: 4
Views: 2334

Re: RECTANGLE and RECTANGLE FILL

Thanks. It looks like BB4W is the odd one out so I will go ahead with my patches to SDLIDE and the dlglib so that it looks the same on all platforms. If you write in BBCSDL and want it to look the same in BB4W then any RECTANGLE FILL needs to be preceded or followed by RECTANGLE with the same parame...
by Zaphod
Sat 16 Feb 2019, 17:50
Forum: Graphics and Games
Topic: RECTANGLE and RECTANGLE FILL
Replies: 4
Views: 2334

Re: RECTANGLE and RECTANGLE FILL

Thanks, DDRM for reiterating the BB4W case, I had forgotten where that was detailed. And I was aware that BBCSDL graphics were different although exactly how I hadn't determined Presumably the SDL drawing routines make different decisions: both outlines and fills include all four "edges". That was m...
by Zaphod
Thu 14 Feb 2019, 23:37
Forum: BBC BASIC language
Topic: Structure prototypes in Structure DIMs
Replies: 2
Views: 2045

Re: Structure prototypes in Structure DIMs

Actually it very much is in the manual!
By George you are right! I read that bit but didn't see as being the same, but of course it is.
Thanks. I really must be losing it.

Z
by Zaphod
Thu 14 Feb 2019, 21:34
Forum: Graphics and Games
Topic: RECTANGLE and RECTANGLE FILL
Replies: 4
Views: 2334

RECTANGLE and RECTANGLE FILL

In looking at the SDL versions on the Windows platform if found minor graphical flaws in the SDLIDE scroll bars. Richard tells me that he cannot reproduce it so I am at a bit of a quandary. I think the issue relates to a what I see on BB4W as a discrepancy between RECTANGLE, LINE and RECTANGLE FILL ...