Search found 1023 matches
- Sep 28, 2020 9:43
- Forum: Community Discussion
- Topic: Reinventing the wheel
- Replies: 17
- Views: 1067
Re: Reinventing the wheel
Throughout history people have been literally reinventing the wheel. If you think about modern car wheels, they are vastly different from prehistoric cartwheels. I seem to remember seeing a TV documentary which mentioned how cartwheels had improved in efficency over the period of the Roman Empire an...
- Sep 09, 2020 21:55
- Forum: Community Discussion
- Topic: FreeBASIC 1.08 Development
- Replies: 307
- Views: 27511
Re: FreeBASIC 1.08 Development
SARG wrote:CoderJeff and I are working on that.jevans4949 wrote:Will the 1,08 release include the gas64 option?
Why are you interested ?
Been trying to work out how to use it. Have a few modules which have simple 32-bit routines, although I will probably need to re-wite these.
- Sep 09, 2020 15:34
- Forum: Community Discussion
- Topic: FreeBASIC 1.08 Development
- Replies: 307
- Views: 27511
Re: FreeBASIC 1.08 Development
Will the 1,08 release include the gas64 option?
- May 16, 2020 12:16
- Forum: Beginners
- Topic: A$="123,45,1,89,22" how do I get column 4, which is 89?
- Replies: 10
- Views: 1055
Re: A$="123,45,1,89,22" how do I get column 4, which is 89?
You could use the C function sscanf (in crt/stdio library) and ingnore the first three values
- Apr 23, 2020 17:01
- Forum: General
- Topic: print#,write" not working
- Replies: 3
- Views: 346
Re: print#,write" not working
badidea wrote:"p:csvreader.log" is that legal? "p:\csvreader.log"?
it created the file on my remote drive. Trouble is, nothing got written to it.
- Apr 23, 2020 10:11
- Forum: General
- Topic: print#,write" not working
- Replies: 3
- Views: 346
print#,write" not working
#Include Once "crt/stdio.bi" #Include "jevans4949/csvread.bi" #Include "jevans4949/getfname.bi" '*********************************************************************** ' Test Driver '*********************************************************************** Dim y As csvf...
- Jun 03, 2019 8:15
- Forum: Beginners
- Topic: How to get and use a dictionary
- Replies: 14
- Views: 7731
Re: How to get and use a dictionary
Probably what you need is not a "dictionary" but a "word list"; try searching for that. There appears to be one on Github in text format. I got one for a Boggle-type game I developed in Freebasic years ago, building on somebody else's idea. Such lists may contain non-English word...
Re: Endian
IBM S/360 mainframes were big-endian, and the most popular machines when the internet was invented. I believe some minicomputers had little-endian format, but based around 16-bit "words"; I distinctly remember seeing one application transferring data to/from a mini-computer which included ...
- Dec 26, 2018 0:41
- Forum: Community Discussion
- Topic: Let it snow
- Replies: 5
- Views: 1151
Re: Let it snow
My kids say it reminds them of Christmas Jetpack!
- Sep 10, 2018 15:04
- Forum: Community Discussion
- Topic: relocation advice
- Replies: 10
- Views: 1787
Re: relocation advice
1. I don't believe in work. 2. I believe in a cushy lifestyle. Good food, clean water, nice clothes. I love programming but I might love the beach even more! There is only one solution: Marry a rich woman who lives near the beach. In some countries, you could marry a rich man, of course. But then w...
- Sep 10, 2018 15:01
- Forum: Community Discussion
- Topic: relocation advice
- Replies: 10
- Views: 1787
Re: relocation advice
Ah, Work -the curse of the drinking classes.
The curse of the smoking classes too, nowadays.
The curse of the smoking classes too, nowadays.
- Jul 27, 2018 1:34
- Forum: General
- Topic: Big Endian -> Little Endian
- Replies: 17
- Views: 1973
Re: Big Endian -> Little Endian
According to Wikipedia, MIDI predates the home computer, and originated in the synthesiser business. The Standard Midi File format was a bit of an add-on.
- Jul 27, 2018 1:13
- Forum: General
- Topic: Big Endian -> Little Endian
- Replies: 17
- Views: 1973
Re: Big Endian -> Little Endian
First computer I used as a student, Elliott 4100, had 24-bit integers and floats as standard, 6-bit character codes. Think ICT 1900/2900 used similar format. Intel 4004 calculator chip, predecessor of all Intels, had 4-bit integers. Only need 4 for a decimal digit! Depended how many transistors or v...
- Jul 27, 2018 0:51
- Forum: General
- Topic: Big Endian -> Little Endian
- Replies: 17
- Views: 1973
Re: Big Endian -> Little Endian
... but I've never heard of a 3-byte integer ... The MIDI fie specification includes one instance of 3-byte integer, and also wierd variable-length integers - lower 7 bits of each byte are data and top bit indicates another byte follows - e.g &h'8307' decodes to &h'0187'. All integers are b...
- Jul 26, 2018 23:38
- Forum: General
- Topic: Big Endian -> Little Endian
- Replies: 17
- Views: 1973
Re: Big Endian -> Little Endian
jj2007 has the simplest answer for Singles or 4-byte integers - well done! My code contains solutions for 2- and 3-byte signed and unsigned integers. Note, however, that my code assumes a 32-bit compile - assumes sizeof(integer) and sizeof(pointer), and does not include 64-bit integers at all. Obvio...