Search found 1017 matches

by jevans4949
Jun 03, 2019 8:15
Forum: Beginners
Topic: How to get and use a dictionary
Replies: 14
Views: 784

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: 803

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: 592

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: 976

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: 976

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: 1112

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: 1112

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: 1112

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: 1112

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...
by jevans4949
Jul 24, 2018 21:18
Forum: General
Topic: Big Endian -> Little Endian
Replies: 17
Views: 1112

Re: Big Endian -> Little Endian

Some stuff I wrote a while back, using asm. (To do with MIDI files) '*********************************************************************** ' Big-endian integer Handling '*********************************************************************** #include once "jevans4949/bigend/bigend.bi" '*...
by jevans4949
Jul 04, 2018 11:30
Forum: General
Topic: Specifying Default Arrays on Function Headers
Replies: 2
Views: 250

Re: Specifying Default Arrays on Function Headers

Thanks, @sancho3, I'll give it a spin. (My example was simplified).)
by jevans4949
Jul 03, 2018 23:07
Forum: General
Topic: Specifying Default Arrays on Function Headers
Replies: 2
Views: 250

Specifying Default Arrays on Function Headers

Is dementia setting in? The following code compiles OK Dim x(0 To 255) As LongInt Function y (z As Long, a() As LongInt) As Integer Function = 0 End Function The following throws error 58: Illegal specification, at parameter 2 (a) of y() in 'Function y ... Dim x(0 To 255) As LongInt Function y (z As...
by jevans4949
Jun 01, 2018 0:15
Forum: General
Topic: starting a project - freeBasic to create games for a university honours course in visual arts.
Replies: 5
Views: 421

Re: starting a project - freeBasic to create games for a university honours course in visual arts.

Suggest you contact Justin Bohemier via his web site and ask whether he is willing to work with you. He may even be willing to share the source code with you, but even if he does it will be probably mean a lot of work, after a lot of learning on your part. Only saw Donkey Kong when my kids were play...
by jevans4949
May 25, 2018 15:36
Forum: Community Discussion
Topic: Is this a bug or am I crazy?
Replies: 29
Views: 2205

Re: Is this a bug or am I crazy?

For the while statement,I suppose hopefully the progammer would eventually clock that i will always be less that i+5 ! I suppose with the for statement, maybe we ought to document that the iterator will be set to the startvalue before the endvalue is computed, and any use of the iteraor in the compu...
by jevans4949
May 25, 2018 2:37
Forum: Community Discussion
Topic: Is this a bug or am I crazy?
Replies: 29
Views: 2205

Re: Is this a bug or am I crazy?

The fact that C runs into a loop is not illogical; the expressions in a for statement can be anything - not necesarily a loop control. Expression 2 is just evaluated at the bottom of the loop. Other languages ususally direct you that all the expressions (other than incrementing the loop counter and ...

Go to advanced search