Search found 1598 matches

by Sisophon2001
Sep 06, 2011 11:00
Forum: Libraries Questions
Topic: GTK DRAWING
Replies: 19
Views: 5283

I would write this sub SUB CCC CDECL (BYVAL widget AS GtkWidget PTR, BYVAL ud AS gpointer) WITH *CAST(MyDataUdt PTR, ud) gtk_window_set_title(GTK_WINDOW(.win), "CLEAR") LINE (0, 0)-(IMAGE_WIDTH, IMAGE_HEIGHT), white,bf on_darea_expose(.darea, 0, 0) END WITH END SUB Like this SUB CCC CDECL ...
by Sisophon2001
Sep 02, 2011 13:01
Forum: Community Discussion
Topic: Teaching Math To Dyscalculaters
Replies: 15
Views: 3544

Stick with BASIC, if that is the language you know, and concentrate instead on getting each individual kid to think about the maths.

Garvan
by Sisophon2001
Aug 31, 2011 11:39
Forum: Community Discussion
Topic: An exercise
Replies: 21
Views: 3593

You are enclosing a rectangle in a circle. This circle exists. There is a limit to the precision at which you can write down its radius in decimal format, but the circle itself exists, as does it radius. I don't understand the reasoning for restricting your integers to even numbers. A rectangle of s...
by Sisophon2001
Aug 27, 2011 9:05
Forum: Community Discussion
Topic: What version of OpenGL is everyone using?
Replies: 15
Views: 3294

This prints out a lot of extension information, do you need that also? Or perhaps you are only interested in computers running window? Linux Desktop (Linux Mint 11) Renderer: Mesa DRI Intel(R) Q45/Q43 GEM 20100330 DEVELOPMENT x86/MMX/SSE2 Vender: Tungsten Graphics, Inc Version: 2.1 Mesa 7.10.2 Linux...
by Sisophon2001
Aug 27, 2011 8:56
Forum: Linux
Topic: I modify Free Basic Runtime to support Dynamic link
Replies: 26
Views: 6268

Two questions:

1. If gfxlib2 was compiled as a shared library, would that create issues with it not being thread-safe?

2. Is rtlib thread safe?

Garvan
by Sisophon2001
Aug 24, 2011 12:41
Forum: Linux
Topic: I modify Free Basic Runtime to support Dynamic link
Replies: 26
Views: 6268

Thanks for the explanation, and the easy link. I understand now what changes you made. I will test it tonight.

Garvan
by Sisophon2001
Aug 23, 2011 12:54
Forum: Linux
Topic: I modify Free Basic Runtime to support Dynamic link
Replies: 26
Views: 6268

Rgwan,

Can you explain more about your changes, either in terms of the syntax it supports (an example) or post some of the source code change. I clicked on your link, but I cant read Chinese.

Garvan
by Sisophon2001
Aug 15, 2011 12:54
Forum: Community Discussion
Topic: Fbc - CIA.vc
Replies: 6
Views: 1861

Thanks.
by Sisophon2001
Aug 14, 2011 13:25
Forum: Community Discussion
Topic: Fbc - CIA.vc
Replies: 6
Views: 1861

Fbc - CIA.vc

I keep http://cia.vc/stats/project/fbc in my bookmarks to see who has been contributing to FreeBASIC recently. I see lots of entries like this, 14:49 on Aug 07 (dkl 40 seconds ago) Merge commit '4a52e31' into v0_22-inheritance What does the 40 seconds ago mean? Or this 20:27 on Jul 26 (dkl in the fu...
by Sisophon2001
Aug 13, 2011 2:15
Forum: Beginners
Topic: length of a fixed size string?
Replies: 13
Views: 2301

No need for peek or a new function. Dim s As String*20 s="test" Print "Length of ("+ s +") = ";Len(s) Print "Initialized Length of ("+ s +") = ";Len(Strptr(s)) Sleep Length of (test) = 20 Initialized Length of (test) = 4 Did you intend print Len(*St...
by Sisophon2001
Aug 01, 2011 5:47
Forum: Community Discussion
Topic: Preparing 0.23
Replies: 41
Views: 7333

Re: Preparing 0.23

<snip> By the way, how about some .run installers for Linux? I'm thinking that would be a pretty good choice to get out of packaging hell (debs, rpms, ...). They're more portable (and easier to create and use too), and they can check for/warn about previous installations. I deb installer failed whe...
by Sisophon2001
Jul 07, 2011 11:04
Forum: Libraries Questions
Topic: FBSound Console Bug - ongoing
Replies: 18
Views: 5511

dkl wrote:This (still) is the same as http://www.freebasic.net/forum/viewtopic.php?t=17459, right? Man, I could have sworn I had responded to that post... <snip>
I recall your reply, but it was in response to a third thread on the same question.

Garvan
by Sisophon2001
Jul 06, 2011 13:11
Forum: Libraries Questions
Topic: FBSound Console Bug - ongoing
Replies: 18
Views: 5511

Landeel wrote:Any news on this one?
It's affecting my game, and really getting on my nerves. :P
This is my solution until something is found. See item (B)

http://www.freebasic.net/forum/viewtopi ... 978#152978

At least I can continue to use fbsound.

Garvan
by Sisophon2001
Jul 06, 2011 13:03
Forum: Linux
Topic: Getting battery information
Replies: 8
Views: 2888

While we are all still here why is it that when I do: Open Pipe program & " &" For Input As #hndl The program still blocks execution of my program? P.S. It blocks at the first input statement, not at open. This looks like invalid syntax. You are running a program, not staring a sh...
by Sisophon2001
Jul 05, 2011 14:25
Forum: Linux
Topic: Getting battery information
Replies: 8
Views: 2888

And how can I capture the output from this Shell("iwconfig wlan0|grep Signal|cut -d""="" -f3|cut -d"" "" -f1") <snip> Look at how I used the open pipe option in this example. http://www.freebasic.net/forum/viewtopic.php?t=18139&highlight= For yo...