Search found 148 matches

by Mico
Sep 04, 2010 11:52
Forum: Community Discussion
Topic: control properties
Replies: 2
Views: 962

Thank you for the prompt reply, Paul. I should have checked more thoroughly. Although I'm very used to the VB6 style, I think the way FireFly handles control properties is just as easy and effective (F8, select, F4, select and Bob's your uncle). Again, thanks for sharing FF!
by Mico
Sep 04, 2010 9:30
Forum: Community Discussion
Topic: control properties
Replies: 2
Views: 962

control properties

I've been less constant than usual in checking new posts, so I didn't notice FireFly for FB so far. I'm really impressed, Paul Squires did a great work. IMHO it's certainly the best attempt at making GUI design easy in FB. So, thank a lot for sharing this outstanding tool. I'm an absolute beginner w...
by Mico
Mar 14, 2010 17:37
Forum: Sources, Examples, Tips and Tricks
Topic: Star Castle Source Code Released!
Replies: 5
Views: 2897

Great!
by Mico
Feb 03, 2010 19:30
Forum: General
Topic: Calc Mule v0.03: Cpu Speed Test...
Replies: 13
Views: 2592

Edit: ok, i've altered v0.01 to v0.01a! now the results should differ twice. can you please try now? That's right. It takes 66.599 sec, i.e. nearly twice as the previous version. CPU usage is shared between the 8 "virtual" cores of the i7 720, but one of them is busier than the others. CP...
by Mico
Feb 03, 2010 12:06
Forum: General
Topic: Calc Mule v0.03: Cpu Speed Test...
Replies: 13
Views: 2592

I tried both the very first and the last version on my i7 720. The execution time is almost identical: 37.016 sec first version , single thread, and 36.241 sec last version, dual thread. Reported CPU speed is 2672 MHz. However, there are differences in the way the 8 (insetad of 4, thanks to hyper-th...
by Mico
Feb 02, 2010 17:42
Forum: General
Topic: Calc Mule v0.03: Cpu Speed Test...
Replies: 13
Views: 2592

I guess that the execution time of your code mainly depends on the clock of the processor. In fact, many recent multi-core processors have slower clock rates than some (older) single-core processor and when it comes to executing a single (single-threaded) task they are actually slower. Moreover, you...
by Mico
Nov 06, 2009 9:47
Forum: General
Topic: that's a do/loop bug?
Replies: 5
Views: 1118

You don't need to Dim FLAG as Integer within the SUB, because FLAG is already declared as an integer argument of the SUB. However, FLAG controls a Do-Loop cycle on the basis of its initial value, that is the one it has when the SUB is called, so you should check whether that value is appropriate. In...
by Mico
Oct 11, 2009 18:48
Forum: Windows
Topic: Bug in double data I/O
Replies: 3
Views: 1779

Thank you very much for your help, guys. It's my fault. I was sure I had 0.20 on this PC, but it's 0.18.2 instead, and that is why I had the same buggy output as in MichealW post. I'm glad it has been fixed. Thanks again everybody, I swear I will check more carefully before crying wolf next time. ;-)
by Mico
Oct 11, 2009 11:16
Forum: Windows
Topic: Bug in double data I/O
Replies: 3
Views: 1779

Bug in double data I/O

I was writing a small program to plot some data using DISLIN, when I noticed that some values in my data files were completely wrong. I checked the data files and they were ok, but still I was not able to read them properly. To make a long story short, I am afraid it is a FB bug. Here is some code t...
by Mico
Oct 05, 2009 21:13
Forum: General
Topic: Looking for a Dijkstra implementation or exemple
Replies: 5
Views: 1414

I am not sure that the code I am posting here is entirely mine. I guess I based this implementation on something I found, but I just cannot remember and therefore I cannot give credit to the author, in case it is not me! As for the code: Const nodeCount As Integer = 4 'number of nodes Const False as...
by Mico
Sep 06, 2009 22:43
Forum: Archive
Topic: Some "Eye Candy" using sine & cosine
Replies: 1
Views: 1057

Have a look at this thread and you'll be able to turn your code into a screensaver:

http://www.freebasic.net/forum/viewtopi ... creensaver
by Mico
Aug 28, 2009 12:53
Forum: Windows
Topic: Simulated Grayscale on a VGA monitor and card?
Replies: 3
Views: 1603

To obtain gray scale graphics, you can either define a 256 gray level palette in screen modes 13 to 21 (see SCREEN and PALETTE keywords) or work in any 24 or 32 bit mode and set the same level for R,G and B components (see RGB function). I assume that you want to display your data as pixels: if that...
by Mico
Dec 15, 2008 16:42
Forum: Community Discussion
Topic: FreeBASIC Frozen
Replies: 61
Views: 14958

For a number of good reasons (basically, too much work!), I've been lurking from time to time and my last post was ages ago, but I MUST say that I completely agree with MichaelW and vdecampo. FreeBASIC is my preferred language unless I really need a complex GUI, and version 0.20.0 is just fine. And ...
by Mico
Aug 27, 2008 7:25
Forum: General
Topic: No Screen and no Screenres in v0.20
Replies: 8
Views: 2734

In MS Windows everything seems to work smoothly in v.0.20 as far as screen/screenres are concerned...
by Mico
Mar 15, 2008 16:59
Forum: Community Discussion
Topic: Dr. Mudball's Laboratory: Rise of the Bustrons!
Replies: 40
Views: 10186

Very nice. And the concept is absolutely original, as far as I know. Really well done!