12-18-2004, 05:47 AM
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.
zydon.
= inc(¢)
FreeBasic forum and examples/previews quicklist
|
12-18-2004, 05:47 AM
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(¢)
12-18-2004, 06:47 AM
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?
I'd knock on wood, but my desk is particle board.
12-18-2004, 06:10 PM
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.
12-18-2004, 06:33 PM
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
12-19-2004, 01:17 AM
Is there such a thing as VARPTR$()?
Isnt it VARPTR()?, and it returns an integer?, just like SADD()?
12-19-2004, 01:53 AM
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.
oship me and i will give you lots of guurrls and beeea
12-19-2004, 03:23 AM
pfft...
Speak for yourself! :lol:
12-19-2004, 06:35 AM
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)
12-19-2004, 06:38 AM
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.
I'd knock on wood, but my desk is particle board.
|
« Next Oldest | Next Newest »
|