Search found 675 matches

by Henko
Thu May 23, 2019 3:56 pm
Forum: Other topics
Topic: Appending sound files ?
Replies: 4
Views: 7306
Flag: Netherlands

Re: Appending sound files ?

smbstarv wrote:
Thu May 23, 2019 11:30 am
Does anyoneknow if there a way to APPEND sounfiles (.wav etc.) in SB ?
Yes, some time ago, a lot of sound and .WAV related functions have been coded and posted.
Did you already searched the program section with ".WAV" ?
by Henko
Mon May 20, 2019 7:29 am
Forum: BASIC programs
Topic: A versatile clipboard
Replies: 4
Views: 10928
Flag: Netherlands

Re: A versatile clipboard

I think I mentioned in the other post that numeric values must be strings (with quotes). I was looking into seeing if I could create a DATA statement and instead of doing a SPLIT, I would do a READ directly into the variable name, removing the extra steps in splitting it into an array then looping ...
by Henko
Fri May 17, 2019 4:10 pm
Forum: BASIC programs
Topic: A versatile clipboard
Replies: 4
Views: 10928
Flag: Netherlands

Re: A versatile clipboard

Another example: a personnel record with mixed variable types. The (simulated) record is put on the cliboard by one program: ' test program for clipboard function ' option base 1 ' *** personnel record, needed by some (query) application *** key$="clint_p" name$="Clinton" surname$="Peacock" birthdat...
by Henko
Fri May 17, 2019 9:28 am
Forum: BASIC programs
Topic: A versatile clipboard
Replies: 4
Views: 10928
Flag: Netherlands

A versatile clipboard

Reading about the problem with the clipboard in the "bug reports" section, i came to design and code a versatile clipboard, based on the "dictionary" file type developed not long ago. If the programmer wants to store a collection of data for later use, or use in another program, he packes the data i...
by Henko
Thu May 16, 2019 5:31 am
Forum: BASIC programs
Topic: IBM mainframe 360/30 vs. iPad 2019
Replies: 13
Views: 35887
Flag: Netherlands

Re: IBM mainframe 360/30 vs. iPad 2019

You are running on an iPad Pro, I believe. That accounts for being able to increase the font size. Your speeds are quite a bit faster than mine and Henk's. I'm not sure how to account for the improved accuracy. Is there better math processing on the Pro? No, i lowered the bias that you added to the...
by Henko
Wed May 15, 2019 9:43 pm
Forum: Other topics
Topic: Case Statement
Replies: 10
Views: 20918
Flag: Netherlands

Re: Case Statement

I would not do the error handling (printing a message) within the function, but only do the error checking and leave the handling to the calling program. An obvious case : when the program is in the graphics mode, you will not have an error message. Some of the examples given simply return an empty ...
by Henko
Wed May 15, 2019 10:45 am
Forum: BASIC programs
Topic: IBM mainframe 360/30 vs. iPad 2019
Replies: 13
Views: 35887
Flag: Netherlands

Re: IBM mainframe 360/30 vs. iPad 2019

I tried both programs and on my iPad Pro 10.5 Inch running iOS 10.3.3, rbytes code just says "Finished" and Henko's code it displays 0.276392. I do not get the matrix rbytes gets. Are you sure that you use the matrix multiply function adapted by rbytes? It must print the matrix! def mat_mul (n,m,ma...
by Henko
Mon May 13, 2019 11:53 am
Forum: Other topics
Topic: Case Statement
Replies: 10
Views: 20918
Flag: Netherlands

Re: Case Statement

Lots of possibilities. I use this one: def nr2day$(nr) if nr=1 then return "Monday" if nr=2 then return "Tuesday" if nr=3 then return "Wednesday" if nr=4 then return "Thursday" if nr=5 then return "Friday" if nr=6 then return "Saturday" if nr=7 then return "Sunday" return "" end def
by Henko
Sat May 11, 2019 9:39 am
Forum: BASIC programs
Topic: IBM mainframe 360/30 vs. iPad 2019
Replies: 13
Views: 35887
Flag: Netherlands

Re: IBM mainframe 360/30 vs. iPad 2019

@ rbytes, I reasoned that If all errors were less than 1.E-13, I would always see a perfect matrix printed, containing only 0s and 1s. That did happen occasionally, but often it didn't. Below are screenshots of three consecutive runs. You might think that accuracy is getting better with each run, bu...
by Henko
Sat May 11, 2019 9:31 am
Forum: BASIC programs
Topic: IBM mainframe 360/30 vs. iPad 2019
Replies: 13
Views: 35887
Flag: Netherlands

Re: IBM mainframe 360/30 vs. iPad 2019

Thank you for retrieving these memories. I also have bad, but especially good memories of that time of punch cards and other inconveniences. :lol: However, I no longer had any specifications, which is why I was so happy with your comparison with iPad. Very enlightening. Talking about inconveniences...