Search found 308 matches

by Hexadecimal Dude!
Feb 26, 2010 17:32
Forum: General
Topic: If..End if
Replies: 27
Views: 6396

And the two bottom statements can't be placed after the second IF because it has to run anyways and it won't if the code jumps to 'Else'. I didn't quite get this, I think that the following two pieces of code are equivalent: Program A If P Then print "1"; If Q Then print "2"; El...
by Hexadecimal Dude!
Oct 01, 2009 19:19
Forum: General
Topic: Circles
Replies: 1988
Views: 262333

Richard wrote: complex multiply two vectors
You confused the hell out of me for a little while! I never heard someone call a complex number a vector before. I thought maybe you were using complex number valued vectors or something!
by Hexadecimal Dude!
Aug 31, 2009 13:52
Forum: Community Discussion
Topic: Is QB Express already dead?
Replies: 68
Views: 20645

a handful of people daily and shamelessly pimp their boring projects If only this were the truth! The open blog-format idea, which I was, and still am, a big fan of, was tried in the form of The FreeBASIC Report , and failed precisely because noone was shamelessly pimping their boring projects. Now...
by Hexadecimal Dude!
Aug 06, 2009 11:55
Forum: Community Discussion
Topic: BASIC Interpreter
Replies: 41
Views: 13623

Nobody remember this? I remember it fondly, angros47 :), from back in the days when I was (even more of) an bright, but still strangely productive. It's cool to see work in the FB interpreter area again, which, since those happy days of adding poorly written code to anrgos47's cool interpreter, has...
by Hexadecimal Dude!
Jul 22, 2009 11:05
Forum: Sources, Examples, Tips and Tricks
Topic: Preprocessor Tree Implementation
Replies: 5
Views: 2740

Very cool use of the preprocessor Thanks :) why? Oh, there's a reason.... but I'm afraid I'd have to kill you if I told you! [it's] part of a bigger, top-secret , project Muhahaha... Anyway, if anyone has the time I'd like some comments on the code style that would be cool, despite being proprocess...
by Hexadecimal Dude!
Jul 21, 2009 11:34
Forum: Sources, Examples, Tips and Tricks
Topic: Preprocessor Tree Implementation
Replies: 5
Views: 2740

Kris, I can't believe a hardcore Fb'er like you doesn't have ext installed! imho it's about time FB shipped with it!
by Hexadecimal Dude!
Jul 20, 2009 22:27
Forum: Sources, Examples, Tips and Tricks
Topic: Preprocessor Tree Implementation
Replies: 5
Views: 2740

Preprocessor Tree Implementation

Hi, as part of a bigger, top-secret, project, I needed to make a tree in the preprocessor which has children added to it in a BASIC-like way. This is the child of that need. Warning: you may go insane if you read this code :) Thanks to Mysoft for showing me a cool trick for making "variables&qu...
by Hexadecimal Dude!
Jul 06, 2009 12:19
Forum: Community Discussion
Topic: Article on a.i.
Replies: 7
Views: 2823

Enjoyable read, well written. You still have some "site"s in the paragraph begining "We can now write a crude flowchart of a semi-smart bot.". Find+replace? I agree with the commenter who said that you could conclude your introduction a bit more clearly, not necessarily with your...
by Hexadecimal Dude!
Jun 18, 2009 15:46
Forum: Community Discussion
Topic: FreeBASIC V1.00
Replies: 17
Views: 6765

If you're interested a link to the todo is http://fbc.svn.sourceforge.net/viewvc/f ... iew=markup

(thanks to Imortis who I stole this link off having been unable to find it in SVN brose myself)
by Hexadecimal Dude!
Jun 07, 2009 17:48
Forum: Sources, Examples, Tips and Tricks
Topic: [Win32] Exception handling using Try/Catch/Finally
Replies: 21
Views: 14512

do you have fbext installed?
by Hexadecimal Dude!
Jun 07, 2009 16:28
Forum: Sources, Examples, Tips and Tricks
Topic: [Win32] Exception handling using Try/Catch/Finally
Replies: 21
Views: 14512

You can get a stack in the PP by combining Mysoft's method with some stuff from fb extended library: #include "ext/preprocessor/seq.bi" #define mystack (EMPTY) #macro stackpush(_stack,_value) #undef mystack #define mystack fbextPP_SeqPushBack(_stack,_value) #endmacro #macro stackpop(_stack...
by Hexadecimal Dude!
May 17, 2009 8:06
Forum: Community Discussion
Topic: Happy birthday rdc
Replies: 7
Views: 2722

Many happy RETURNs ;)
by Hexadecimal Dude!
Apr 26, 2009 18:49
Forum: Beginners
Topic: problem with CALL statement
Replies: 6
Views: 1930

If I understand what CALL did, I think you just do

Code: Select all

subname(arguments)
as if your SUB was a command.
by Hexadecimal Dude!
Apr 04, 2009 18:30
Forum: General
Topic: I'd like my Type to have a Sub named Next (devs might know)
Replies: 18
Views: 3895

Richard wrote:The English language is rich in synonyms, for “next” I have used “another” or “more” as the alternative functional symbol.
Successor would be my new name of choice.
by Hexadecimal Dude!
Mar 31, 2009 14:11
Forum: Documentation
Topic: Naked functions
Replies: 32
Views: 19798

Maybe the solution is to make a tutorial in the community tutorials section with all the information in, then write a sparse page for naked functions as if for people who know what they're doing, but link to the tut. in the 'see also'?