Search found 255 matches
- Jun 08, 2012 1:29
- Forum: Beginners
- Topic: special key recognition
- Replies: 5
- Views: 572
Re: special key recognition
This rather bloated program hangs around on my system because I can never remember certain details. 'FBechokeys.bas - Console Mode program to echo out key values returned ' by Inkey() function. 'Ryan Kelly 2012 ' 'Compile with fbc FBechokeys.bas '_____________________________________________________...
- Jun 08, 2012 1:15
- Forum: Community Discussion
- Topic: Freebasic v's C# code execution speed ?
- Replies: 31
- Views: 5809
Re: Freebasic v's C# code execution speed ?
Id like to know how fast the for next loops are and other simple commands like Print "hello" What does that have to do with language? That just jumps directly to the system console output routine? Which in 9 out of 10 languages/platforms will lead to you to the same C run time library.
- Jun 06, 2012 23:20
- Forum: Community Discussion
- Topic: The Evolution of End User Programming
- Replies: 5
- Views: 506
Re: The Evolution of End User Programming
reality = you + x
Both terms on the right hand side are undefined. Good luck.
Both terms on the right hand side are undefined. Good luck.
- Jun 06, 2012 7:51
- Forum: DOS
- Topic: screen13 palette: is there a bug, or i'm struggling on it?
- Replies: 13
- Views: 6523
Re: screen13 palette: is there a bug, or i'm struggling on i
Or it could be DOSBox's VGA emulation.
- Jun 06, 2012 7:38
- Forum: Community Discussion
- Topic: OO in FB
- Replies: 27
- Views: 4465
Re: OO in FB
@1000101 This issue came to mind: http://www.freebasic.net/forum/viewtopic.php?f=3&t=18879&hilit=memory+leak It involved the use of allocate and deallocate to manage an array of strings. I've been in the habit of explicitly setting strings to null in destructors as well. I've found that expl...
- Jun 06, 2012 7:19
- Forum: General
- Topic: OffsetOf request
- Replies: 11
- Views: 943
Re: OffsetOf request
But which would you rather read?
- Jun 06, 2012 6:48
- Forum: General
- Topic: OffsetOf request
- Replies: 11
- Views: 943
Re: OffsetOf request
I see. But is the double cast needed?
Code: Select all
#Define OFFSET_T(typename, fieldname) Cast(GLvoid Ptr, OffsetOf(typename, fieldname))
- Jun 05, 2012 21:05
- Forum: General
- Topic: OffsetOf request
- Replies: 11
- Views: 943
Re: BFD cache lookup
I am not entirely sure what you are trying to accomplish here. This looks like it will evaluate to a pointer to what is probably an invalid memory address.
- Jun 05, 2012 20:56
- Forum: Community Discussion
- Topic: OO in FB
- Replies: 27
- Views: 4465
Re: OO in FB
I still remember this: http://forum.qbasicnews.com/index.php?topic=71421000101 wrote:(when did it first get release?)
- Jun 05, 2012 2:41
- Forum: General
- Topic: OffsetOf request
- Replies: 11
- Views: 943
- Jun 03, 2012 7:10
- Forum: Community Discussion
- Topic: OO in FB
- Replies: 27
- Views: 4465
Re: OO in FB
Newbie Question! 1000101, what do you mean by "in both the gcc and gas backends." Does FB .24 not compile directly to native and support these OO features. .24 supports MORE object oriented features. Inheritance has been added. Fbc has never compiled directly to machine code. It has alway...
- Jun 03, 2012 1:14
- Forum: Projects
- Topic: four-in-a-row, minimax, some advice would be helpful...
- Replies: 4
- Views: 1279
Re: four-in-a-row, minimax, some advice would be helpful...
Since your look ahead routine is recursive, it searches depth first, which is how it gets distracted by future moves and will favor future wins that result from early moves on the left to current moves on the right. I took the same approach to scoring moves, but used a breadth first search in order ...
- Jun 03, 2012 0:57
- Forum: Community Discussion
- Topic: Back2BASIC #6
- Replies: 7
- Views: 1372
Re: Back2BASIC #6
I see no problem with the text size. Most browsers implement simple size adjustment anyways.
Scrolling code boxes wouldn't hurt, and they are pretty simple to implement, but since I enjoyed reading the code, it never occurred to me.
Scrolling code boxes wouldn't hurt, and they are pretty simple to implement, but since I enjoyed reading the code, it never occurred to me.
- Jun 03, 2012 0:46
- Forum: Community Discussion
- Topic: Deprecation of the freebasic assembler back end
- Replies: 44
- Views: 7423
Re: Deprecation of the freebasic assembler back end
I will never understand why the Linux community did not revolt against the GCC crowd's decision to stick with the AT&T syntax as a default.1000101 wrote:Intel syntax > AT&t syntax by a land-slide.
- Jun 02, 2012 0:30
- Forum: Linux
- Topic: OPEN on a folder name has different behavior in Win & Linux
- Replies: 13
- Views: 2844
Re: OPEN on a folder name has different behavior in Win & Li
Linux uses the UNIX "everything is a file" metaphor.