Dear BBC,
I wrote a database in BBC Basic for Windows using pop up menus and scroll bars. At the top of the code is a line
INSTALL @lib$+"WINLIB5"
How can I change this to run with bbcsdl on my Debian 8 Linux? Is there an equivalent in Linux? I assume "WINLIB5" applies just to Windows.
I very much look forward to hearing from you.
Kind regards
David Smith
library on linux for popupmenus and scroll bars
-
- Posts: 1
- Joined: Fri 13 Apr 2018, 10:08
Re: library on linux for popupmenus and scroll bars
There's a near-equivalent to WINLIB2 (dlglib.bbc) but not to WINLIB5. As discussed elsewhere, when writing SDLIDE.bbc I decided to offload the dialogue-box functionality into a library, but not the menu and scrollbar functionality; basically it would have been too difficult and time-consuming to make them sufficiently general-purpose.David Smith wrote: ↑Fri 13 Apr 2018, 10:19 Is there an equivalent in Linux? I assume "WINLIB5" applies just to Windows.
So effectively you have two choices: write the code yourself or adapt the code in SDLIDE.bbc. If you happened to create a library as a spinoff that would be great, but as I copped out of doing that I can't really expect you to.

Richard.