Search found 130 matches
- Oct 30, 2015 14:24
- Forum: General
- Topic: [sovled] (Pointers,byref,scope) How could I implement this?
- Replies: 27
- Views: 2958
Re: [sovled] (Pointers,byref,scope) How could I implement th
First off : I don't expect a reply to this post. I thought I'd post this, in case someone stumbles upon this in the future and discovers the same issues. I worked again on my vector class and found a problem with the above approach. Doing sth. like dim as T_VECTOR y = x doesn't create a full copy o...
- Oct 23, 2015 10:51
- Forum: Projects
- Topic: FreeBasic IDE-poseidonFB(Update 2024.03.03)
- Replies: 1283
- Views: 361801
Re: FreeBasic IDE-poseidonFB
Bug: Searching and then closing the search dialog crashes the IDE.
Feature Request: Holding CTRL and clicking on sth. likeoropens the respective file in FBIde. I really like that feature.
Feature Request: Holding CTRL and clicking on sth. like
Code: Select all
#include "stuff.bas"
Code: Select all
'$include "stuff.bas"
- Oct 23, 2015 10:42
- Forum: General
- Topic: Overloading sqr
- Replies: 4
- Views: 710
Re: Overloading sqr
Indeed, 'Sqr' is not an operator but a function. Yes, it seems a bit strange to me that sin and others are regarded as operators. @srvaldez @dodicat Thanks! This solves my problem. However, for consistency, I think it would be good to treat sqr as the others. I personally would prefer to be able to...
- Oct 22, 2015 16:50
- Forum: General
- Topic: Overloading sqr
- Replies: 4
- Views: 710
Overloading sqr
Hey, can't sqr be overloaded? The following fails with "Expected operator, found 'sqr'" : type TT i as integer end type declare operator sqr(byref vec as TT) as TT Is there a reason for it? Since sin , cos and others can be overloaded it would make sense to be able to overload sqr as well.
- Oct 07, 2015 21:46
- Forum: Projects
- Topic: FreeBasic IDE-poseidonFB(Update 2024.03.03)
- Replies: 1283
- Views: 361801
Re: FreeBasic IDE-poseidonFB
Bug report: 1) Compiling/Executing doesn't allow spaces in path names. 2) Only Quick-Running works. Pressing "Compile File" doesn't create an executable. 3) The current working directory is always set to the path from which Poseidon is run. Bug: 1. I forgot pass " " to run comma...
- Oct 06, 2015 18:08
- Forum: Projects
- Topic: FreeBasic IDE-poseidonFB(Update 2024.03.03)
- Replies: 1283
- Views: 361801
Re: FreeBasic IDE-poseidonFB
Drag&Dropping works, also the keyboard shortcuts. However sth. else has gone wrong which might have to do with the temporary file you create: Compiling now creates a temporary file but doesn't actually compile anything. Also: If I create a new tab, I'm still prompted to specify a new file. More ...
- Oct 04, 2015 16:53
- Forum: Projects
- Topic: FreeBasic IDE-poseidonFB(Update 2024.03.03)
- Replies: 1283
- Views: 361801
Re: FreeBasic IDE-poseidonFB
Bug report: 3) The current working directory is always set to the path from which Poseidon is run. Bug: 3. Change current workiing directory is for....? I've come to expect this as a default behaviour. Writing files currently puts them into the folder where Poseidon resides in (the working director...
- Oct 03, 2015 21:02
- Forum: Windows
- Topic: [solved] Hello win64 user can you test some FLTK binaries ?
- Replies: 4
- Views: 1423
Re: Hello win64 user can you test some FLTK binaries ?
That's quite a bunch. Are you looking for a simple "do they run?" test or a functionality test as well? I looked at the first few programmes and I'm not always sure if what I see is what I'm supposed to see. Drawing03 seems to mess with my graphics. It leaves some white boxes even after ex...
- Oct 03, 2015 18:09
- Forum: Projects
- Topic: FreeBasic IDE-poseidonFB(Update 2024.03.03)
- Replies: 1283
- Views: 361801
Re: FreeBasic IDE-poseidonFB
both executables, the new poseidonFB.exe and the added poseidonFB_2.exe crash when I do: Was this resolved "behind the scenes"? I tested it and it doesn't crash for me. Bug report: 1) Compiling/Executing doesn't allow spaces in path names. 2) Only Quick-Running works. Pressing "Compi...
- Oct 03, 2015 16:45
- Forum: General
- Topic: Icon not showing
- Replies: 4
- Views: 1441
Re: Icon not showing
This post and this post may help you. I've modified the code in the second link a tad s.t. you can load your own icon. Manual: 1) Create a file "tray_icon.bas" and copy the code below into it. 2) Create a file "icon.rc" and put the line FB_PROGRAM_ICON ICON myIcon.ico in it. 3) ...
- Oct 03, 2015 15:50
- Forum: General
- Topic: Filled Box, ASM
- Replies: 12
- Views: 3275
Re: Filled Box, ASM
Does having speedstep/turboboost or whatever CPU speed throttling enabled affect your results? (I have it disabled) Disabling turboboost has no effect on the quality of the results. Good thinking, though. I keep forgetting that I have this feature and it may affect my timing results. You could try ...
- Oct 03, 2015 15:01
- Forum: Windows
- Topic: Hiding window doesn't de-focus it
- Replies: 5
- Views: 2428
Re: Hiding window doesn't de-focus it
Thanks dkl! This is a much better workaround than what I've been using so far. You might be right with your assumptions. ShowWindowAsync() lets the thread associated with the window change the window's state. That might explain why ShowWindow() doesn't work. The main thread doesn't have the rights t...
- Sep 18, 2015 15:05
- Forum: General
- Topic: Filled Box, ASM
- Replies: 12
- Views: 3275
Re: Filled Box, ASM
The tests so far, I have run on my Laptop with a Core i7-4710HQ. Now I have tested it on my Desktop system with a Core i5-750: (LINE vs. ASM) small: 1.8 vs. 0.60 medium: 8.6 vs. 11.7 large: 7.2 vs. 5.3 And also on another Laptop with a Pentium B950: small: 2.7 vs. 1.0 medium: 13.1 vs. 18.0 large: 16...
- Sep 15, 2015 11:28
- Forum: Windows
- Topic: setenviron not permanent?
- Replies: 2
- Views: 1076
Re: setenviron not permanent?
Are you sure that FB changes them permanently at all (even after a restart)? The way I have used environment variables so far (under Linux; not with FB), they are only valid for the current console. If you launch another console, you have the default variable values, unless you change them explicitl...
- Sep 15, 2015 11:13
- Forum: Windows
- Topic: Feature request: WindowIcon (fbgfx)
- Replies: 23
- Views: 3907
Re: Feature request: WindowIcon (fbgfx)
I'm all for having a more comfortable way of loading an icon. The following isn't too difficult though: Create the file icon_test.bas with: screen 18 print "icon test" sleep Create the file icon_test.rc with: FB_PROGRAM_ICON ICON myicon.ico Compile with sth. like this: "%programfiles(...