Search found 2927 matches

by Richard
Aug 02, 2007 12:02
Forum: Documentation
Topic: List of Wiki Pages that MAY need updating
Replies: 16
Views: 6055

Some pages in FB-manual-chm-02.jul.2007.chm have been left behind in the revision process. The pages do not specify if Line numbers or OnGoto are supported in –lang fb. See: “Programmers Reference / Lexical Conventions / Labels” and “Control Flow Statements / Transferring Statements” are missing dia...
by Richard
Aug 02, 2007 2:01
Forum: General
Topic: String Functions
Replies: 1
Views: 853

Answer 1. String(Lof(h), 0) makes a string of zero valued bytes the same length as the file #h. Any character or byte value could be assigned since it will be overwritten by the file data. The string clearly exists in memory and you may use it for the contents of the file. The number of characters r...
by Richard
Aug 01, 2007 15:32
Forum: General
Topic: Code dont work!
Replies: 4
Views: 1329

If you run the following: Function PasswortHash(Passwort As String) As String #Print typeof(Passwort) ' check the result window -> ZSTRING PasswortHash = "" End Function You find in effect that you have not actually explicitly declared the type of the variable Passwort. Yes...
by Richard
Aug 01, 2007 7:47
Forum: General
Topic: Open Scrn command and example in text
Replies: 2
Views: 833

You are compiling with the -lang qb but your syntax is for -lang fb.
There is a different syntax for Open "Scrn:" in qb, take a look at the end of the help file page.
by Richard
Jul 29, 2007 2:09
Forum: Beginners
Topic: Declare Function with passed array
Replies: 8
Views: 1501

But there is no ByDesc keyword available!
by Richard
Jul 29, 2007 1:52
Forum: Beginners
Topic: Declare Function with passed array
Replies: 8
Views: 1501

Since arrays are now passed Byref and might one day be passed Byval, I am being explicit by declaring: Declare Function x ( Byref array() As Integer) as Integer ' the above gives a compile error 56 - illegal specification Declare Function x ( array() As Integer) as In...
by Richard
Jul 27, 2007 8:28
Forum: General
Topic: Hard Sequence Question
Replies: 12
Views: 2558

I did wonder what I had done, now I have seen the edit, thanks. We might be math geeks, but we behave more like a pack of wolves that rip problems to pieces. Wolf Integer was particularly hungry and did not get any. This challenge was fascinating because it was underspecified. When you feed such a f...
by Richard
Jul 27, 2007 2:28
Forum: General
Topic: Hard Sequence Question
Replies: 12
Views: 2558

If you only want the n'th element then why not just generate one random number since the sequence is unspecified, random or arbitrary. My guess of what you wanted was something like this. ' generate sequence of k, use nth only Dim As Integer k=7, n, i Dim As Double Sequence(1 To k) Dim As Do...
by Richard
Jul 25, 2007 20:19
Forum: Libraries
Topic: fbsound0.03 problem loading .wav files
Replies: 6
Views: 1800

Thanks for that Joshy. I'll now go to soundlib forum for fbsound questions.
by Richard
Jul 25, 2007 12:39
Forum: Libraries
Topic: fbsound0.03 problem loading .wav files
Replies: 6
Views: 1800

Yes, those files load and work OK. Why does doubling the kbps change the ability to load?
by Richard
Jul 25, 2007 9:57
Forum: Libraries
Topic: fbsound0.03 problem loading .wav files
Replies: 6
Views: 1800

20.wav and other files with problem are from the audio-numbers.zip at
http://community.voxeo.com/library/audio/prompts/
by Richard
Jul 25, 2007 5:46
Forum: Libraries
Topic: fbsound0.03 problem loading .wav files
Replies: 6
Views: 1800

fbsound0.03 problem loading .wav files

atem.wav (705kbps) from the fbsound0.03\data directory loads without a problem. I have some small .wav files (64kbps) that will not load with fbsound0.03 from the same directory. They all play without problems with QuicktimePlayer. Are there restrictions on .wav files? Any ideas?
by Richard
Jul 22, 2007 2:43
Forum: General
Topic: Fbsound0.03 Lfbsoundwin file not found (solved)
Replies: 3
Views: 800

Thanks for that clue. The preprocessor directive #inclib adds the “lib” prefix and “.a” extension to “filename” to get the actual “libfilename.a” that will be loaded. The –l prefix was added to filename because the space is missing in the compile error reporting code. That is why the filename seemed...
by Richard
Jul 21, 2007 13:00
Forum: General
Topic: Fbsound0.03 Lfbsoundwin file not found (solved)
Replies: 3
Views: 800

Fbsound0.03 Lfbsoundwin file not found (solved)

I am trying to use Fbsound 0.03 with FB version 0.18, The fbsound makeall.bat runs and the tests.exe run OK. #include "C:\FBsound0.03\inc\FBsound.bi” gives an error message with Compiler output: = C:\PROGRAm files\FREEBAsic\bin\win32\ld.exe: cannot find –lfbsoundwin There is a copy of C:\Fbsound0.03...
by Richard
Jul 21, 2007 4:44
Forum: Beginners
Topic: How load a JPEG-Picture?
Replies: 25
Views: 5817

Some CRT screens kill their brightness for one second when they detect a change to video mode. They resynchronise during that time. Try starting and staying in the screen/video mode you need for the image.

Go to advanced search