Search found 102 matches

by Sterling Christensen
Sep 05, 2005 7:41
Forum: General
Topic: 32 bit color....
Replies: 16
Views: 5191

As far as I know, it's only PUT that has alpha transparency.
by Sterling Christensen
Sep 02, 2005 5:26
Forum: General
Topic: Range Operator / Array Slices
Replies: 6
Views: 1843

Here's the equivalent FB code: '$include: 'crt.bi' sub make_array_slice (source(), byval start_index, byval length_of_slice, result()) if start_index < lbound(source) then exit do if start_index + length_of_slice - 1 > ubound(source) then exit do redim result(0 to length_of_slice - 1) memcpy varptr(...
by Sterling Christensen
Aug 26, 2005 11:35
Forum: Sources, Examples, Tips and Tricks
Topic: Bin2Bas
Replies: 1
Views: 4224

Woo hoo, long live array initializers, death to DATA statements!
by Sterling Christensen
Aug 25, 2005 13:51
Forum: General
Topic: Give me a break
Replies: 11
Views: 3420

Well, maybe WEND would be more consistant as "END WHILE". Or maybe if "END IF" were changed to "IEND". But I think they should be left the way they are for compatibility with qbasic.
by Sterling Christensen
Aug 18, 2005 20:28
Forum: Beginners
Topic: array() = array() produces error?
Replies: 9
Views: 2698

Maybe like this? array1(2 TO 5) = array2(100 TO 103) ' copy part of array By forcing the programmer to be explicit about what and how much is being copied where, the compiler doesn't have to worry about different dimmensions etc. Maybe it would be simple enough to implement if that syntax was invali...
by Sterling Christensen
Aug 10, 2005 18:13
Forum: DOS
Topic: MP3?
Replies: 7
Views: 6194

There are headers for FMOD, and it can play MP3s.
by Sterling Christensen
Aug 04, 2005 10:06
Forum: General
Topic: Fixed len strings & chr$(0) issue
Replies: 4
Views: 1522

Hmmm, FB 0.13 gives this: 1 C 67 2 i 105 3 a 97 4 o 111 5 0 6 0 7 0 8 0 9 0 10 0 ...so it looks like 0.13 is respecting chr$(0) as a terminator.
by Sterling Christensen
Aug 01, 2005 16:22
Forum: Beginners
Topic: Label's address
Replies: 7
Views: 3065

I just tried that code you gave, and it seemed to work.
by Sterling Christensen
Jul 31, 2005 9:10
Forum: General
Topic: WOW! freeBASIC is FAST!
Replies: 19
Views: 8789

SJ Zero wrote:I know a few gentoo users who would disagree that there are no faster compiler flags. :P
I'm a Gentoo user, and I thought so at first. So I tried out different CFLAGS with gcc 3.4.3 compiling libfb and libfbgfx, and the best I could get was about a 3-8% speedup over the official binary. Oh well.
by Sterling Christensen
Jul 30, 2005 16:38
Forum: Linux
Topic: Bug with strings?
Replies: 12
Views: 6414

Hmmm. No segfaults. Is there anything more I could do to provoke it?
by Sterling Christensen
Jul 29, 2005 3:04
Forum: Beginners
Topic: How do I disable CTRL+ALT+DEL on a Windows GUI project?
Replies: 11
Views: 5030

I think there are ways to set up Windows to limit what a hostile user can do (including Ctrl+Alt+Del), the way they do at most public schools and libraries.... but beyond that, I imagine MS wouldn't want to make that too easy to do programmatically - malware writers would abuse it.
by Sterling Christensen
Jul 29, 2005 2:27
Forum: Linux
Topic: Syntax highlighting for Katepart (KDE)
Replies: 9
Views: 5979

Your English is fine.

Thanks a lot, this is great! So far it seems to be working perfectly.
by Sterling Christensen
Jul 29, 2005 2:20
Forum: Linux
Topic: Bug with strings?
Replies: 12
Views: 6414

I've got Gentoo Linux and GDB.
Z!re wrote:Then I added theese lines:
buffer = space(8192)
sendbuffer=space(8192)

and it SEGF immediately...
Where do I add those to make it SEGF?

Sorry about not responding before, my broadband was down for 2 days - I just noticed this topic.
by Sterling Christensen
Jul 21, 2005 19:34
Forum: Linux
Topic: GenUX / Gentoo OS Installer...
Replies: 5
Views: 4479

Any screenshots?
by Sterling Christensen
Jul 21, 2005 4:22
Forum: General
Topic: What is the difference between wx-c and GTK on Linux?
Replies: 3
Views: 1437

From the user's perspective, very very little difference. Because on Linux, wx is just a wrapper around GTK. wx-c Linux programs will be bulkier and maybe slightly slower, but they'll look and act exactly the same.