Search found 603 matches

by VirusScanner
Sep 17, 2006 22:27
Forum: Linux
Topic: Quick Q&A - Moving FreeBasic to a new OS
Replies: 18
Views: 4356

There has been some talk about a C++ emitter, it just won't be the primary method, and isn't high priority right now.
by VirusScanner
Sep 17, 2006 22:15
Forum: Projects
Topic: Circuit Simulator
Replies: 8
Views: 3380

I assumed that the libstormy_gui.a and libFreeFps.a were precompiled versions of these libraries. I will try in a while to compile both of those libraries with .17.
by VirusScanner
Sep 16, 2006 22:47
Forum: Linux
Topic: Quick Q&A - Moving FreeBasic to a new OS
Replies: 18
Views: 4356

It's not going to emit C++, it's going to just use the GCC backend. So it will be able to (theoretically) use wxWidgets, but it will still emit asm.
by VirusScanner
Sep 16, 2006 22:41
Forum: Projects
Topic: Circuit Simulator
Replies: 8
Views: 3380

In normal .17 mode: circuit.bas(6) : error 134: Only valid in -lang deprecated or qb or vb, found: 'include': '$include: "FreeFps.bi" circuit.bas(7) : error 134: Only valid in -lang deprecated or qb or vb, found: 'include': '$include: "stormy_gui.bi" circuit.bas(124) : error 14: Expected identifier,...
by VirusScanner
Sep 15, 2006 1:33
Forum: Projects
Topic: Circuit Simulator
Replies: 8
Views: 3380

Any way someone could provide an exe for windows of this? It has tons of errors in .17 so I can't compile it :(
by VirusScanner
Sep 15, 2006 1:09
Forum: Linux
Topic: Quick Q&A - Moving FreeBasic to a new OS
Replies: 18
Views: 4356

The current Gfxlib is nice because it doesn't rely on big libraries like that though. And it really shouldn't be as hard as it seems to reimplement it for a new system, since you just need a window to draw to, not all the widgets and such that wx provides.
by VirusScanner
Sep 15, 2006 1:04
Forum: General
Topic: Number of bytes used by effective string in wstring
Replies: 10
Views: 2977

Use the encoding option of the OPEN function, you should be able to write in a standard text format like UTF-8.
by VirusScanner
Sep 14, 2006 3:53
Forum: Linux
Topic: Quick Q&A - Moving FreeBasic to a new OS
Replies: 18
Views: 4356

IBasic had a separate library (at least the pro version, standard had keywords for GUI) for doing windows, which you could do in FB. I personally find IBasic's GUI library easy to work with, and I think it would be nice if such a thing existed for FB, but I know that there are many C++ cross platfor...
by VirusScanner
Sep 09, 2006 16:32
Forum: Beginners
Topic: SUB's and the transmission of the parameters (closed)
Replies: 15
Views: 2697

The latest .17 release has a -lang qb option which might help running old code.
by VirusScanner
Sep 09, 2006 1:23
Forum: General
Topic: "Advanced" Linked Lists
Replies: 13
Views: 1921

One inefficiency I spotted there is that to add items to the end of the list, the getlast function traverses the whole list. This would add an overhead when building a list in ascending order of key from a file in ascending order of key, or a log of events in order of occurrence. Why not hold the p...
by VirusScanner
Sep 08, 2006 0:39
Forum: General
Topic: Reporting bugs in ASM [though this isn't a bug!]
Replies: 5
Views: 1273

Hmm, that's odd. It could be because NASM has a complete manual (I find it easier to read than GAS's).
by VirusScanner
Sep 08, 2006 0:36
Forum: General
Topic: "Advanced" Linked Lists
Replies: 13
Views: 1921

See http://www.freebasic.net/wiki/wikka.php?wakka=TutLinkedLists, you don't need any list traversing. You call delete on a node (no passing a list header also) and it links the previous and next nodes.
by VirusScanner
Sep 08, 2006 0:28
Forum: Beginners
Topic: Usage of RUN, différence with QBasic (closed)
Replies: 5
Views: 1148

QB is an interpreter, FB is a compiler. Variables won't be erased no matter where you jump to, because that's the way compilers work.

You can use a hashtable for this function though, and clear all entries when you want to restart. That's how an interpreter works.
by VirusScanner
Sep 07, 2006 4:06
Forum: Windows
Topic: In-Memory Dialogs
Replies: 71
Views: 58716

Cool, this is definitely going to be helpful.
by VirusScanner
Sep 07, 2006 4:02
Forum: General
Topic: Reporting bugs in ASM [though this isn't a bug!]
Replies: 5
Views: 1273

FB doesn't use NASM, they use the GNU assembler.

Go to advanced search