Search found 1134 matches

by jj2007
Jun 21, 2019 13:34
Forum: Community Discussion
Topic: Pulsar2D
Replies: 6
Views: 204

Re: Pulsar2D

Thanks to everybody, will test your proposals asap.
by jj2007
Jun 21, 2019 12:01
Forum: Community Discussion
Topic: Pulsar2D
Replies: 6
Views: 204

Pulsar2D

Does anybody know how to set up the Pulsar library? The source code zip package has a FreeBasic folder, but I don't know where to put it. When I include with full path, the linker complains with "cannot find -lSDL2" etc - the usual trial and error game...
by jj2007
Jun 19, 2019 20:42
Forum: General
Topic: smart code formatter
Replies: 7
Views: 214

Re: smart code formatter

Do you want to make a test? If it's not confidential, upload it somewhere, otherwise post a hundred lines here. If you prefer, I can give you my email here, but it would disappear asap.
by jj2007
Jun 19, 2019 19:24
Forum: General
Topic: smart code formatter
Replies: 7
Views: 214

Re: smart code formatter

The RichMasm editor has an autoformat function, but it's very specialised on x86 assembler. It would be helpful if you posted a hundred lines of example code... how many lines is the source you want to reformat?
by jj2007
Jun 15, 2019 8:21
Forum: General
Topic: Squares
Replies: 6658
Views: 377031

Re: Squares

Topic summary: Nice idea but a little bit buggy (and I don't have the time now to fix it). Thanks for confirming that this is a real coding thread. For some time I was inclined to believe that "Squares" was some secret game where old FB insiders are pulling each others' legs. So much nons...
by jj2007
Jun 14, 2019 21:06
Forum: General
Topic: Squares
Replies: 6658
Views: 377031

Re: Squares

albert wrote:The hardness is the flexibility...
No.
by jj2007
Jun 14, 2019 10:44
Forum: General
Topic: Squares
Replies: 6658
Views: 377031

Re: Squares

albert wrote:Every time you cut the length in half the hardness doubles.
No, the hardness is a constant. Basics of engineering.
by jj2007
Jun 13, 2019 22:03
Forum: General
Topic: Squares
Replies: 6658
Views: 377031

Re: Squares

dodicat wrote:I was going to say that the Moh's hardness scale only applies to solids, but I see mercury documented as hardness 1.5.
The other liquid element at room temperature is bromine, but it is not listed.
The Mohs value for mercury is valid only for solid mercury at -38.89 Celsius grades and lower.
by jj2007
Jun 12, 2019 8:42
Forum: Community Discussion
Topic: FBC's Cairo clock example error
Replies: 52
Views: 1483

Re: FBC's Cairo clock example error

@dodicat: I get Clock.bas(120) error 24: Invalid data types:

Code: Select all

        Var g=Right("0"+Str(counter-1),2)
by jj2007
Jun 11, 2019 17:21
Forum: Community Discussion
Topic: FBC's Cairo clock example error
Replies: 52
Views: 1483

Re: FBC's Cairo clock example error

Nice, Knatterton!
Image
by jj2007
Jun 10, 2019 11:55
Forum: Projects
Topic: Windows only : another simple tool for cartesian plots
Replies: 4
Views: 263

Re: Windows only : another simple tool for cartesian plots

marpon wrote:very nice, but as you only provide an exe, no real interest for me.
The source is MasmBasic and still very confused. Perhaps when it is ready I could create a static lib to make the code accessible for FreeBasic (Win32 only, it's Gdi+).
by jj2007
Jun 10, 2019 0:18
Forum: Projects
Topic: Windows only : another simple tool for cartesian plots
Replies: 4
Views: 263

Re: Windows only : another simple tool for cartesian plots

I am also working on such stuff, see here. It seems that anti-aliasing is off with your plots, is that intentional?
by jj2007
Jun 09, 2019 8:17
Forum: Windows
Topic: Tiny GUi and tiny Designer
Replies: 25
Views: 1914

Re: Tiny GUi and tiny Designer

Xusinboy Bekchanov wrote:for me the priority is unicode.
Works fine for me (my OS is Italian):

Code: Select all

print "Добро пожаловать"   ' say hello
sleep
My editor saves the source as UTF-8 with BOM, that's the whole secret.
by jj2007
Jun 08, 2019 9:21
Forum: Windows
Topic: How to detect that window has been resized
Replies: 5
Views: 190

Re: How to detect that window has been resized

BTW, when compiling your program I have got the following warnings (1.05). ..warning 1(1): Passing scalar as pointer, at parameter 10 of CREATEWINDOWEX() ..warning 4(1): Suspicious pointer assignment Yes, we had that discussion before . FreeBasic and Windows aren't the best friends. Just ignore suc...
by jj2007
Jun 08, 2019 2:46
Forum: Windows
Topic: How to detect that window has been resized
Replies: 5
Views: 190

Re: How to detect that window has been resized

The reason why you don't see this is another: Somebody decided that the poor FB coder should not see all those overwhelmingly complex messages, and therefore wisely excluded some of them from WaitEvent. You can override this by using a standard template as shown below, but that is Windows only, of c...

Go to advanced search