Qbasicnews.com

Full Version: FreeBasic forum and examples/previews quicklist
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
I use -s gui fbc switches. btw, it's a new keywords added in FB v0.08b I just download it yesterday. I guess, you still using v0.07b.

zydon.
Nice work, zydon. Big Grin comctl32 is definately worth converting completely. Hopefully what you've done here will be a good base for the planned GUI library for FreeBASIC. Big Grin I'd personally like it if you could help out with the project. Whaddya say? Big Grin
Heh, there's the n-word again ("Newbie", not the other one). I've never had to use comctl32 before. So, naturally, your example flies over my head Smile

I guess it's like varptr for strings. That's how it is for QB. I imagine that in FreeBasic it just returns the 32-bit offset in memory instead of the offset from the nearest previous segment.
VARPTR$(A$) is, in fact: LTRIM$(STR$(SADD(A$))).
Is there such a thing as VARPTR$()?

Isnt it VARPTR()?, and it returns an integer?, just like SADD()?
I really wish you guys wouldn't use goto, it was only supported to backward compability with gwbasic and such. It's really abuse of a modern language. If you don't stop i'll make v1ctor remove it period. Smile
then we just won't use any higher versions of fb. Wink
pfft...

Speak for yourself! :lol:
goto is evil... but even C has it.

Sometimes, for the sake of optimization, it is useful to have the ability to jump to a random location, but if your algorithm requires such convoluted nonsense, you should probably rewrite it.


So... get rid of it! (Or make a command line option to turn on 'qb crap' or something)
I really wish people would stop arguing about the use of GOTO. Find something better to argue about, like which is better...Allegro or SDL. Big Grin
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16