Search found 674 matches

by maddogg6
May 04, 2011 9:14
Forum: Libraries Questions
Topic: Extended library setup
Replies: 10
Views: 2993

Vinie vendra wrote:it worked!!!! yay!!
Life is good when stuff works out huh?
Vinie vendra wrote:thanks a lot for the help,
No problem.
Vinie vendra wrote: im just gonna have to get used to the "new" freebasic.

=D
I suggest understanding whats explained on that wiki/Dialects page I linked to before.
by maddogg6
May 04, 2011 8:52
Forum: Libraries Questions
Topic: Extended library setup
Replies: 10
Views: 2993

is there some kind of substitute for "include" now? Use '#' http://www.freebasic.net/wiki/wikka.php?wakka=CatPgPreProcess The '$' is for QB compatibility and the error you see; Only valid in -lang deprecated or fblite or qb, found 'include' in ''$include: "fbgfx.bi". ...Is telli...
by maddogg6
May 04, 2011 5:53
Forum: Libraries Questions
Topic: Extended library setup
Replies: 10
Views: 2993

TJF wrote:BTW: There's no syntax error in #PRAGMA ONCE. So there's something wrong in the code before (maybe in another file).
Old FB version? Was 'pragma' or 'once' added since say V 0.15 by chance?
by maddogg6
Apr 13, 2011 1:22
Forum: Hardware Interfaces / Communication
Topic: Digitech RP355 guitar processor detection...
Replies: 7
Views: 3984

Well... I've come to this end, which isn't so bad. I have a decent mic, so I'm just running the mic straight into the pc/mic in, and have it strategically placed in front of the amp, for day time recording, which actually has decent quality. The thing that's always bothered me about that, is the st...
by maddogg6
Apr 08, 2011 21:14
Forum: Hardware Interfaces / Communication
Topic: Digitech RP355 guitar processor detection...
Replies: 7
Views: 3984

I doubt joshy's ASIO suggestion will change anything, except perhaps you may learn something about that audio device from any info it may output for you. Let me back up.... Are you using Cool Edit - or Adobe audition? Last I knew - Cool edit did not support ASIO - it was added later IIRC when called...
by maddogg6
Apr 08, 2011 6:22
Forum: Hardware Interfaces / Communication
Topic: Digitech RP355 guitar processor detection...
Replies: 7
Views: 3984

1) do you even see the audio device as an audio input? I would install cubase that came with the RP, and follow instructions to do a 'test' recording. It may not work in cool edit if 1) cool edit does not support ASIO or 2) the RP USB driver did not include any WDM driver 2) There is an aux input on...
by maddogg6
May 15, 2010 2:40
Forum: General
Topic: Read in CSV Data file
Replies: 5
Views: 1832

I did some quick testing and found that opening for binary does work... Cool I learned something... Type product FIELD = 1 A as ZString *7 B as ZString *6 C as ZString *6 END TYPE DIM TEMP as product Dim as Integer ff = freefile OPEN "test.txt" FOR BINARY AS #ff INPUT #ff, TEMP.A, TEMP.B, ...
by maddogg6
May 15, 2010 2:05
Forum: General
Topic: Read in CSV Data file
Replies: 5
Views: 1832

I suspect you are attempting to use Open for binary, on a ascii file - and I don't think it will work with user types...?? I could be wrong of course. What I would suggest is reading with open as input and read each item into temp vars - verify them either by displaying them to the screen or otherwi...
by maddogg6
Apr 13, 2010 20:39
Forum: Community Discussion
Topic: Win Xp Batch File
Replies: 9
Views: 2843

Re: Win Xp Batch File

Hi all This is NOT fb related, but thought someone may have an answer. In XPe , I have an Icon that starts a Batch file. In the Batch file the first statement is to execute my app. When the app. is terminated, the remaining statements (copying files) should be done. However, XP decides to do them w...
by maddogg6
Aug 16, 2008 6:40
Forum: Projects
Topic: Missile Command (0.9.0)
Replies: 18
Views: 11201

great start - I played this quite a bit as well - in another life anway.

But - IIRC, you could launch multiple missles - as it stands you have to wait for a missle to hit its target before another can be launched - is this by design?

Its a great start either way - I was just kinda curious.
by maddogg6
Aug 13, 2008 0:43
Forum: Beginners
Topic: Newbie Needs Help Compiling Old Program
Replies: 8
Views: 2763

Re: It Worked!

Novice wrote:Now I just have to figure out how to get the LPRINT statement to talk to my current printer.
Look at OPEN LPT in FB wiki...

http://www.freebasic.net/wiki/wikka.php ... yPgOpenLpt
by maddogg6
Aug 12, 2008 3:03
Forum: Beginners
Topic: NOW manipulation
Replies: 8
Views: 2820

Thanks for spotting that. I've added support for "n" to Format() in SVN. It will be available in the next release. In the meantime, Right() probably is the best workaround. Or, if you just want minutes, the Minute() function might be better. I was looking at MSDN http://msdn.microsoft.com...
by maddogg6
Aug 11, 2008 19:28
Forum: Community Discussion
Topic: FBEdit vs FBIDE
Replies: 23
Views: 9059

if anyone is interested being a webmaster and helping me to maintain please contact. I would be happy to have some help.... I could make a simple google Site for it - and give you edit access as well - or anyone else with google accounts. I just tested its filecabinet with a zip file and looks ok. ...
by maddogg6
Aug 11, 2008 19:16
Forum: Beginners
Topic: NOW manipulation
Replies: 8
Views: 2820

yes - and I did some playing around too... I really do think is a problem with m = Month sometimes... well, its the only thing that makes sense to this bright :D The best I could do is: Print "delta time mins,secs: ";Right$(Format(time3, "hh:mm:ss"),5) edit: you'll note that, the...
by maddogg6
Aug 11, 2008 19:11
Forum: Hardware Interfaces / Communication
Topic: Using/programming a sound card
Replies: 36
Views: 18593

And for a square wave (on one side) replace: PlayBuffers(buffer,i).l=Sin(w1)*12800:w1+=w1Step With If SIN(w1) > .5 Then PlayBuffers(buffer,i).l = 1800 If SIN(w1) < .5 Then PlayBuffers(buffer,i).l = -1800 One would think - playing simple tones would be simple, and they would be wrong - imho, its alot...