Search found 1447 matches

by St_W
Dec 24, 2018 15:54
Forum: Community Discussion
Topic: Merry Christmas!
Replies: 11
Views: 840

Re: Merry Christmas!

Merry Christmas to everyone!
by St_W
Dec 22, 2018 20:51
Forum: Windows
Topic: New IDE is comming a way...testing right now
Replies: 22
Views: 2234

Re: New IDE is comming a way...testing right now

Delphi 7?

Although it would probably be more wise to put the IDE creation effort into a single (or a few at max) project I'm looking forward to try out yet another FB IDE :-)
by St_W
Dec 21, 2018 18:48
Forum: General
Topic: Get (File I/O) issue
Replies: 7
Views: 441

Re: Get (File I/O) issue

I was just pointing out the fact that the "amount" parameter accepts a 'ULong' but the 'bytesread' parameter does not. At least in the Win64. That is because "bytesread" is defined as "byref", so the argument size has to match. If you pass a ULong to "amount"...
by St_W
Dec 18, 2018 21:52
Forum: Community Discussion
Topic: Nominations for Forum Moderators
Replies: 70
Views: 6434

Re: Nominations for Forum Moderators

Thanks for all the nominations. I was watching this thread closely during the previous week and for me it was fine having only a single candidate. Also being unsure whether I can actually spend the amount of time that is actually needed for excercising the moderator role appropriately, I decided to ...
by St_W
Dec 16, 2018 15:30
Forum: Beginners
Topic: Can we have __FB_WIN32__ and __FB_64BIT__ at the same time? [solved]
Replies: 14
Views: 1073

Re: Can we have __FB_WIN32__ and __FB_64BIT__ at the same time? [solved]

The term "win32" in __FB_WIN32__ refers to the Win32 API as provided by the Win32 and WOW64 subsystems of the Windows operating system. Although there are other subsystems and APIs (for example you can run native Linux applications using the POSIX API on Windows if you install WSL) Win32 i...
by St_W
Dec 08, 2018 19:40
Forum: Beginners
Topic: Newbie/Oldie
Replies: 2
Views: 321

Re: Newbie/Oldie

For Windows I'd recommend WinFBE which includes the latest compilers and an editor, everything preconfigured to get started quickly: https://freebasic.net/forum/viewtopic.php?f=8&t=25215 There is a book "FBeginner" that explains the basics, although a bit dated, available here: https:/...
by St_W
Dec 08, 2018 18:57
Forum: General
Topic: Been a while...
Replies: 4
Views: 469

Re: Been a while...

Ah right, sorry, forgot that fbc wants a space character between -l and the library name (in contrast to gcc, which doesn't). As linking stdc++ doesn't seem to fix the issue for you some more hints: Note that C++ isn't binary compatible among different compiler versions or compilers. So ideally make...
by St_W
Dec 06, 2018 12:01
Forum: General
Topic: Been a while...
Replies: 4
Views: 469

Re: Been a while...

Are you linking the C++ runtime? If not then do so e.g. using:
fbc -lstdc++
by St_W
Dec 04, 2018 20:09
Forum: General
Topic: Latest FBC 1.05 gives warning 38 with boolean evaluation
Replies: 5
Views: 405

Re: Latest FBC 1.05 gives warning 38 with boolean evaluation

The "Last Update" date on sourceforge refers to everything (including commits to the source repository or changes in the bugtracker). The latest officially released version is 1.0.5 from Jan 31, 2016. I had a look at the package from Arch Linux, which is propably also the one Manjaro Linux...
by St_W
Dec 04, 2018 13:47
Forum: General
Topic: Latest FBC 1.05 gives warning 38 with boolean evaluation
Replies: 5
Views: 405

Re: Latest FBC 1.05 gives warning 38 with boolean evaluation

I'm wondering which build you are effectively using, could you tell us e.g. the Git commit ID it was built from? I'm wondering because the last official build is from January 31, 2016 for Linux: https://sourceforge.net/projects/fbc/files/Binaries%20-%20Linux/ No official updated binary has been publ...
by St_W
Nov 28, 2018 21:44
Forum: Community Discussion
Topic: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize
Replies: 360
Views: 23150

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Jan 2019), 800 $ 1st prize

Tourist Trap wrote:When is the last day to submit something?
The first post in this thread explains it all. The deadline is January 14, 2019 18:00 GMT.
by St_W
Nov 27, 2018 19:01
Forum: Community Discussion
Topic: Dim Byref syntax
Replies: 134
Views: 14762

Re: Dim Byref syntax

[...] As I pointed out earlier, the only way to do it is by directly using pointers. However, this is not very BASIC like, it is more C like. [...] I agree that it is - in general many features that were added to the initial feature-set derived from QBasic are inspired by C or C++. That was the way...
by St_W
Nov 27, 2018 15:53
Forum: Community Discussion
Topic: Dim Byref syntax
Replies: 134
Views: 14762

Re: Dim Byref syntax

This will never compile nor execute because one is not allowed to touch the child reference [...] But it can be easily fixed. Just note that the new operator returns a pointer in FB. type tOne extends object s as string declare constructor() end type constructor tOne() end constructor type tTwo ext...
by St_W
Nov 27, 2018 15:22
Forum: Community Discussion
Topic: Dim Byref syntax
Replies: 134
Views: 14762

Re: Dim Byref syntax

I beg to differ. Control means that you can determine when objects are instantiated. With nested objects that is currently not possible with FB. Individually they can neither be instantiated, null referenced nor deleted. The only workaround is the direct use of pointers. That's what I meant. You in...
by St_W
Nov 27, 2018 14:27
Forum: Community Discussion
Topic: Dim Byref syntax
Replies: 134
Views: 14762

Re: Dim Byref syntax

[...] whereby the programmer is totally responsible for instantiating objects (as it should be) [...] In FB you have full control over the lifecycle of an object, much more than in common OO languages. Most languages nowadays try to relief the programmer from managing the object's lifecycle themsel...

Go to advanced search