Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FreeBasic forum and examples/previews quicklist
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.
= inc(¢) Big Grin
Reply
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
I'd knock on wood, but my desk is particle board.
Reply
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.
Reply
VARPTR$(A$) is, in fact: LTRIM$(STR$(SADD(A$))).
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
Is there such a thing as VARPTR$()?

Isnt it VARPTR()?, and it returns an integer?, just like SADD()?
Reply
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
oship me and i will give you lots of guurrls and beeea
Reply
then we just won't use any higher versions of fb. Wink
Jumping Jahoolipers!
Reply
pfft...

Speak for yourself! :lol:
Reply
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)
Reply
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
I'd knock on wood, but my desk is particle board.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)