Search found 143 matches

by KenDown
Sat 05 Sep 2020, 05:55
Forum: Desktop platforms and IDEs
Topic: SDL problems
Replies: 4
Views: 248

Re: SDL problems

Ah. My bad. I was running an older version. I've upgraded and the Save as... problem seems to have gone away. Thanks for clarifying about compiling. I want to put the jigsaw program on my wife's computer but she is not up to running it from the BBCSDL program. I wouldn't say that I'm unhappy with BB...
by KenDown
Wed 02 Sep 2020, 16:02
Forum: Desktop platforms and IDEs
Topic: SDL problems
Replies: 4
Views: 248

SDL problems

I've been playing around with SDL a bit and am having some problems. If anyone has any advice? The first is a problem that others have mentioned before me: double-click on bbcsdl.exe and every so often it simply fails to start - you just get a window with a copyright message and the > prompt. I've t...
by KenDown
Tue 05 May 2020, 14:12
Forum: User Interface
Topic: Using the cursor position
Replies: 3
Views: 1327

Re: Using the cursor position

Thanks, though I *think* that requires that you select the text you wish to copy. What I want to do is click once in a paragraph and then transfer that entire paragraph elsewhere, which means that I have to work out the caret position, work backwards to the start of the paragraph, work forward to th...
by KenDown
Mon 04 May 2020, 23:28
Forum: User Interface
Topic: Using the cursor position
Replies: 3
Views: 1327

Using the cursor position

I have an edit box set up with SYS"LoadLibrary","RICHED20.DLL" textbox%=FN_createwindow(@hwnd%,"RichEdit20W","",354,4,344,246,0,&200044,0) To do what I need to do, I have to set up a structure: DIMcharrange{cpmin%,cpmax%} What I want to do is click in the edit box and then extract the text where I c...
by KenDown
Sun 19 Apr 2020, 20:57
Forum: Database and Files
Topic: WAIT and file handling
Replies: 3
Views: 1597

Re: WAIT and file handling

Thanks for the advice. I'll re-examine the code to see if the program is accessing memory that it shouldn't - the only thing I can think of off-hand is that the diary entries are held as a string array and naturally the array is empty to begin with. I am pretty sure that no entry exceeds the very ge...
by KenDown
Sat 11 Apr 2020, 05:58
Forum: Database and Files
Topic: WAIT and file handling
Replies: 3
Views: 1597

WAIT and file handling

In my diary program the days are held in an array and obviously today's entry is blank. When, at the end of the day, I enter my activities the entire array is saved to disk and then read back in again and displayed. Unfortunately, ten or fifteen seconds - or sometimes immediately - after doing the a...
by KenDown
Thu 02 Apr 2020, 19:52
Forum: BBC BASIC language
Topic: DIV - feature or what?
Replies: 3
Views: 1339

Re: DIV - feature or what?

Oh tarnation! Yes, you are right, DIV is working exactly as it should. My mistake was having a brainstorm and confusing DIV and MOD. And, of course, when MOD is substituted the programs go on printing dots ad infinitum.

Which means that I am still lost as to why my other program keeps crashing!
by KenDown
Thu 02 Apr 2020, 19:46
Forum: Multimedia
Topic: MP4
Replies: 5
Views: 3812

Re: MP4

Thanks. Unfortunately, when I tried downloading, the download was successful and demanded permission to make changes (which I granted) but as soon as I clicked on anything, the installer vanished. Even something as simple as "Accept" crashed it.
by KenDown
Thu 02 Apr 2020, 15:36
Forum: BBC BASIC language
Topic: DIV - feature or what?
Replies: 3
Views: 1339

DIV - feature or what?

Trying to track down a bug in a program I tried to test what I thought might be the error with the following little programs: m%=0 REPEAT IFm%DIV1000=0PRINT"."; m%+=1 UNTILm%=-2 m%=0 REPEAT IFm%DIV1000=0PRINT"."; m%-=1 UNTILm%=2 Obviously both are loops that will never end. The interesting thing is ...
by KenDown
Tue 17 Mar 2020, 13:39
Forum: BBC BASIC language
Topic: Corona simulation challenge
Replies: 11
Views: 3167

Re: Corona simulation challenge

Unfortunately one needs to be a subscriber to use the link you have provided.