Search found 541 matches
- Aug 24, 2017 5:17
- Forum: Beginners
- Topic: FB Setup for FBEdit editor
- Replies: 6
- Views: 2214
Re: FB Setup for FBEdit editor
If by "windows objects" you mean listbox, textbox etc., then I would recommend the WinFBE editor by PaulSquires (here is the thread) . This editor is currently being developed by Paul. At this point you can use templates developed by Jose Roca to create windows and controls. I tried it out...
- Aug 24, 2017 2:49
- Forum: Community Discussion
- Topic: What to do about a lack of developers for the compiler?
- Replies: 117
- Views: 17413
Re: What to do about a lack of developers for the compiler?
This is very cool Imortis. Thanks for stepping up to the plate.Imortis wrote:I think I have a fix. I am running the unit tests now to make sure I didn't break anything, then I will test to see if suffixes are no longer allowed on keywords.
- Aug 24, 2017 2:33
- Forum: General
- Topic: Property returns incorrect object
- Replies: 24
- Views: 5173
Re: Property returns incorrect object
I expected the object instance to be returned but now I see that doens't happen by design. A function/property/operator will return a new copy of the object, unless you specify byref. The same is true for simple data types like integer. I also see now were return by reference can be useful. @dodicat...
- Aug 23, 2017 3:33
- Forum: General
- Topic: Property returns incorrect object
- Replies: 24
- Views: 5173
Property returns incorrect object
I have the class testa which contains a member x which is type statestring (another class). In testa I have a property which returns that member, this.x. That property returns a statestring object whose address does not match this.x. Consequently changes made to the object returned by the property d...
- Aug 22, 2017 22:38
- Forum: General
- Topic: static variable issue
- Replies: 2
- Views: 566
static variable issue
Removed code and original question since its been addressed...
This thread talks about a problem with static booleans.
According to the thread DKL "fixed in Git"
Is the version of FB where DKL addressed this bug a release version of FB?
This thread talks about a problem with static booleans.
According to the thread DKL "fixed in Git"
Is the version of FB where DKL addressed this bug a release version of FB?
- Aug 22, 2017 16:58
- Forum: Documentation
- Topic: Common shared error
- Replies: 2
- Views: 1265
Re: Common shared error
Lol, oops.
I could have sworn I updated my documentation since then.
And I did go looking for it in the wiki. I wonder how I got this wrong.
Sorry.
I could have sworn I updated my documentation since then.
And I did go looking for it in the wiki. I wonder how I got this wrong.
Sorry.
- Aug 22, 2017 16:54
- Forum: Beginners
- Topic: FB Setup for FBEdit editor
- Replies: 6
- Views: 2214
Re: FB Setup for FBEdit editor
It might be that it is flashing by super fast when you run it. The code print "hello world" will print to the screen but it will also end immediately. Add a sleep command after that which will force the user to press a key to continue. In FBEdit you use the green arrow on the tool bar to c...
- Aug 22, 2017 4:08
- Forum: General
- Topic: cannot find -lSDL2
- Replies: 12
- Views: 6924
Re: cannot find -lSDL2
Visual Studio Express is what you are looking for. Its free. But I thik that you are close with code::blocks anyway. The last time I mess with tar files it seemed to me to be an unnecessary extra hassle. I'm sure they serve a purpose, but in this case there is a zip file that windows can handle nati...
- Aug 22, 2017 1:16
- Forum: General
- Topic: cannot find -lSDL2
- Replies: 12
- Views: 6924
Re: cannot find -lSDL2
It seems that code blocks can't find the header file. It is step 4 in the tutorial. Under project settings, click on project build options In the Search Directories, we need to add a new compiler directory. Click add, Select the SDL2 folder inside of the include directory from the folder we extracte...
- Aug 21, 2017 23:26
- Forum: General
- Topic: cannot find -lSDL2
- Replies: 12
- Views: 6924
Re: cannot find -lSDL2
I've never tried Code::Blocks. I used Visual Studio and the tutorial was spot on.
- Aug 21, 2017 23:25
- Forum: Documentation
- Topic: Common shared error
- Replies: 2
- Views: 1265
Common shared error
This little error I came accross today might be a good thing to add to the documentation under keyword "common":
COMMON variables cannot be object instances of CLASS/TYPE's with cons/destructors.
COMMON variables cannot be object instances of CLASS/TYPE's with cons/destructors.
- Aug 21, 2017 21:54
- Forum: General
- Topic: cannot find -lSDL2
- Replies: 12
- Views: 6924
Re: cannot find -lSDL2
This is an example of how to write a tutorial. I followed along to the first hello world program and it was step for step, and left no mysteries. It is for C++ however so take it for what its worth. If the first couple of lessons are any indication, then I think it still might help you in using SDL...
- Aug 17, 2017 23:58
- Forum: General
- Topic: What is FreeBasic written in?
- Replies: 15
- Views: 3062
Re: What is FreeBasic written in?
Its called bootstrapping (from wikipedia): Compilers Main article: Bootstrapping (compilers) The development of compilers for new programming languages first developed in an existing language but then rewritten in the new language and compiled by itself, is another example of the bootstrapping notio...
- Aug 09, 2017 19:10
- Forum: Community Discussion
- Topic: Any list of softwares made in fb?
- Replies: 48
- Views: 7171
Re: Any list of softwares made in fb?
This is a bad analogy as MP3 is only popular. It is not "good enough". An explanation is way off topic so I'll leave it at that.ZIP is like mp3. It's good enough
@ST.W.: I missunderstood what you wrote. I get it now
- Aug 09, 2017 2:16
- Forum: Community Discussion
- Topic: Any list of softwares made in fb?
- Replies: 48
- Views: 7171
Re: Any list of softwares made in fb?
Over at Lachie's site that I linked there is a pac man style game (screen shot) Again the age of the compiler is a benefit as it is clearly a mature compiler. But that age has that massive drawback of so much software lost to history. Now that there are very few users, large, flashy, demonstratable ...