Search found 19 matches

by Vance
Oct 28, 2006 20:53
Forum: Libraries
Topic: Ogg playback in OpenAL
Replies: 7
Views: 3992

TbbW wrote:this code does not work as it suld.

but to get it compile u need 0.17 compiler.

but just so u know it's still bugged.


Okay, I'll download version 0.17 as soon as I can. Again, I don't know a lot about this kind of stuff but if I'm lucky I might help you find a bug or two. :)
by Vance
Oct 28, 2006 0:38
Forum: Libraries
Topic: Ogg playback in OpenAL
Replies: 7
Views: 3992

Thanks TbbW! I have very little experience with sound handlers and this is exactly the kind of program I was looking for. Unfortunately, I also have very little experience working with FreeBasic programs that require multiple .bi files to run, so I don't know how to get your program to compile. :( W...
by Vance
Apr 11, 2006 4:22
Forum: Beginners
Topic: Screenshot of...
Replies: 7
Views: 1605

Nice! You should post this in the Projects thread so that all the FB non-beginners can see the screenie. :)
by Vance
Apr 01, 2006 20:27
Forum: Projects
Topic: Simple Shooter FB
Replies: 5
Views: 4452

This is one of those games I've always wanted to play but could never find it... or something like that. :P Thanks for porting this one to FB, ChangeV! [img=http://img428.imageshack.us/img428/6725/simplefb3dk.th.png] So did anybody get to 150,000 or 200,000 points yet? By the time this game gets to ...
by Vance
Mar 31, 2006 0:48
Forum: Projects
Topic: Hello Kitty Mini-Game (Now with a no-sound version)
Replies: 4
Views: 1997

Fun game. And yes, the exe did indeed have the kitty icon :)
by Vance
Mar 25, 2006 3:52
Forum: Beginners
Topic: Chiming sounds when pressing Alt+char in higher screen modes
Replies: 3
Views: 897

Chiming sounds when pressing Alt+char in higher screen modes

The following code works normally: ?"Press Escape to quit" while inkey$<>chr$(27) wend But when I run the same program in a higher screen mode, like screen 13 ?"Press Escape to quit" while inkey$<>chr$(27) wend And then press Alt + a letter or number, Windows make...
by Vance
Mar 23, 2006 21:39
Forum: Beginners
Topic: saving udts to a file?
Replies: 2
Views: 910

I see. Thanks for the info, yetifoot! :)
by Vance
Mar 23, 2006 21:08
Forum: Beginners
Topic: saving udts to a file?
Replies: 2
Views: 910

saving udts to a file?

Is there are a way to save all the variables stored in a user-defined type with a single WRITE command? Kinda like type playmate fname as string lname as string month as string year as integer end type dim shared girls(3) as playmate girls(1).fname="Lisa" girls(1).l...
by Vance
Mar 21, 2006 15:37
Forum: Beginners
Topic: If you forget to DEALLOCATE something allocated in FreeBasic
Replies: 20
Views: 3793

From what I understand (keep in mind I'm still a beginner when it comes to using dynamic memory allocation in FreeBasic), is this the proper way to ensure there won't be a memory leak? ' Variable Init. dim pointer1 as integer ptr ' Allocate some memory for an integer. pointer1=allocate(len(i...
by Vance
Mar 20, 2006 7:06
Forum: Beginners
Topic: If you forget to DEALLOCATE something allocated in FreeBasic
Replies: 20
Views: 3793

If you forget to DEALLOCATE something allocated in FreeBasic

...is the block of memory reserved for the data lost forever, or is there a way to get that leaked memory back (rebooting the system, running some sort of test, etc.)?
by Vance
Mar 20, 2006 0:30
Forum: Beginners
Topic: "FOR" loop with step -1, error with unsigned varia
Replies: 16
Views: 3146

v1ctor's right, there's no error here to correct here. Just for yucks, I tried this program in QuickBasic DEFINT A-Z CLS FOR a = -32763 to -32768 step -1 PRINT a NEXT a and this similar-looking, theoretically identical program in FreeBasic DEFSHORT A-Z CLS FOR a = -32763 to -32768 step -1 PRINT a NE...
by Vance
Mar 12, 2006 3:40
Forum: Beginners
Topic: Problems with double and timer
Replies: 4
Views: 968

Awww... so common shared doesn't automatically make a variable double even when it's passed. D'oh!

Thanks for the help, DrV and D.J.Peters. Much appreciated. :)
by Vance
Mar 12, 2006 3:26
Forum: Beginners
Topic: Problems with double and timer
Replies: 4
Views: 968

Problems with double and timer

Hey guys! I'm trying to make a function delay that pauses the program for a fixed number of seconds, but I'm having problems. Here's my code: ' This program is supposed to delay for 1.5 seconds, but delays for two seconds instead. ' * * * Variable Init. * * * common shared oldtimer as double common ...
by Vance
Mar 10, 2006 17:25
Forum: General
Topic: Why did you remove GOSUB in SUBs ?
Replies: 45
Views: 9529

ON ERROR GOTOs are ugly. I prefer the try...catch blocks seen in other languages, but it requires OO. But FB is moving in that direction anyway; OO, that is. Completely disagree. ON ERROR GOTO is a lot easier to work with if you're not expecting your project to have a lot of errors in the first pla...
by Vance
Mar 10, 2006 0:12
Forum: General
Topic: Why did you remove GOSUB in SUBs ?
Replies: 45
Views: 9529

I don't use GOSUB anymore either, but I'm also with the GOSUB lovers. I love the compromise v1ctor implemented; as long as you're allowed to use the keyword and there aren't any quirky, unnecessary syntax changes that cause the keywords to lose their ease of use and comfortability, I'm okay with tha...

Go to advanced search