FreeBasic forum and examples/previews quicklist - Printable Version +- Qbasicnews.com (http://qbasicnews.com/newforum) +-- Forum: General (http://qbasicnews.com/newforum/forum-6.html) +--- Forum: General/Misc (http://qbasicnews.com/newforum/forum-18.html) +--- Thread: FreeBasic forum and examples/previews quicklist (/thread-5051.html) |
re: #define - zydon - 12-18-2004 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. FreeBasic forum and examples/previews quicklist - adosorken - 12-18-2004 Nice work, zydon. comctl32 is definately worth converting completely. Hopefully what you've done here will be a good base for the planned GUI library for FreeBASIC. I'd personally like it if you could help out with the project. Whaddya say? FreeBasic forum and examples/previews quicklist - Jofers - 12-18-2004 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 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. FreeBasic forum and examples/previews quicklist - na_th_an - 12-18-2004 VARPTR$(A$) is, in fact: LTRIM$(STR$(SADD(A$))). FreeBasic forum and examples/previews quicklist - Z!re - 12-19-2004 Is there such a thing as VARPTR$()? Isnt it VARPTR()?, and it returns an integer?, just like SADD()? FreeBasic forum and examples/previews quicklist - Blitz - 12-19-2004 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. FreeBasic forum and examples/previews quicklist - barok - 12-19-2004 then we just won't use any higher versions of fb. FreeBasic forum and examples/previews quicklist - Dr_Davenstein - 12-19-2004 pfft... Speak for yourself! :lol: FreeBasic forum and examples/previews quicklist - DrV - 12-19-2004 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) FreeBasic forum and examples/previews quicklist - adosorken - 12-19-2004 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. |