Search found 1023 matches

by jevans4949
Sep 28, 2020 9:43
Forum: Community Discussion
Topic: Reinventing the wheel
Replies: 17
Views: 710

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...
by jevans4949
Sep 09, 2020 21:55
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 228
Views: 19689

Re: FreeBASIC 1.08 Development

SARG wrote:
jevans4949 wrote:Will the 1,08 release include the gas64 option?
CoderJeff and I are working on that.
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.
by jevans4949
Sep 09, 2020 15:34
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 228
Views: 19689

Re: FreeBASIC 1.08 Development

Will the 1,08 release include the gas64 option?
by jevans4949
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: 852

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
by jevans4949
Apr 23, 2020 17:01
Forum: General
Topic: print#,write" not working
Replies: 3
Views: 289

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.
by jevans4949
Apr 23, 2020 10:11
Forum: General
Topic: print#,write" not working
Replies: 3
Views: 289

print#,write" not working

#Include Once "crt/stdio.bi" #Include "jevans4949/csvread.bi" #Include "jevans4949/getfname.bi" '*********************************************************************** ' Test Driver '*********************************************************************** Dim y As csvf...
by jevans4949
Jun 03, 2019 8:15
Forum: Beginners
Topic: How to get and use a dictionary
Replies: 14
Views: 7540

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...
by jevans4949
Apr 14, 2019 11:34
Forum: General
Topic: Endian
Replies: 14
Views: 1489

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 ...
by jevans4949
Dec 26, 2018 0:41
Forum: Community Discussion
Topic: Let it snow
Replies: 5
Views: 1064

Re: Let it snow

My kids say it reminds them of Christmas Jetpack!
by jevans4949
Sep 10, 2018 15:04
Forum: Community Discussion
Topic: relocation advice
Replies: 10
Views: 1621

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...
by jevans4949
Sep 10, 2018 15:01
Forum: Community Discussion
Topic: relocation advice
Replies: 10
Views: 1621

Re: relocation advice

Ah, Work -the curse of the drinking classes.

The curse of the smoking classes too, nowadays.
by jevans4949
Jul 27, 2018 1:34
Forum: General
Topic: Big Endian -> Little Endian
Replies: 17
Views: 1755

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.
by jevans4949
Jul 27, 2018 1:13
Forum: General
Topic: Big Endian -> Little Endian
Replies: 17
Views: 1755

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...
by jevans4949
Jul 27, 2018 0:51
Forum: General
Topic: Big Endian -> Little Endian
Replies: 17
Views: 1755

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...
by jevans4949
Jul 26, 2018 23:38
Forum: General
Topic: Big Endian -> Little Endian
Replies: 17
Views: 1755

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...

Go to advanced search