Search found 404 matches

by lizard
Nov 25, 2017 11:54
Forum: General
Topic: How non-random was QB's RND
Replies: 40
Views: 1444

Re: How non-random was QB's RND

Munair wrote:GO WITH THE FreeBASIC Express! Enjoy the ride while it steams up. ;).


Funny! Here in Berlin we have a different sorts of trams since the downfall of GDR. Many become overrun randomly.
by lizard
Nov 23, 2017 10:29
Forum: General
Topic: How non-random was QB's RND
Replies: 40
Views: 1444

Re: How non-random was QB's RND

Have you tried this?

Code: Select all

Dim As Short x, y, c, r

Screen 12

Randomize , 4

Do
   c = Int(Rnd * 16)
   r = Int(Rnd * 16)
   x = Int(Rnd * 4000)
   y = Int(Rnd * 3000)
 
   PSet (x, y),  c ^ r

Loop Until Len(InKey)


Really funny. :-)
by lizard
Nov 14, 2017 0:08
Forum: Projects
Topic: BiFiles : FB bi files browser/viewer
Replies: 13
Views: 1150

Re: BiFiles : FB bi files browser/viewer

window9 32bits : what are the difficulties for a 64 bits modif. my w7 is 64b , i'm running fb32 bits , no pb . One can run 32 on 64, but not 64 on 32. So at the moment it would be best to do everything with 32, i think. With the option to switch to 64 in the near future. I personally want to have m...
by lizard
Nov 13, 2017 20:18
Forum: Projects
Topic: BiFiles : FB bi files browser/viewer
Replies: 13
Views: 1150

Re: BiFiles : FB bi files browser/viewer

MrSwiss wrote:
lizard wrote:Windows9 ist good too, i have tried a little. Each library has its drawbacks.
Well, Windows9's drawback is: 32bit, only (not a bright future, therefore).


Same with wx-c. Thats one further advantage of fltk-c, Works in all, 32, 64, win, linux and mac i believe.
by lizard
Nov 13, 2017 15:22
Forum: Projects
Topic: BiFiles : FB bi files browser/viewer
Replies: 13
Views: 1150

Re: BiFiles : FB bi files browser/viewer

What is your first choice as OS?
by lizard
Nov 13, 2017 11:35
Forum: Projects
Topic: BiFiles : FB bi files browser/viewer
Replies: 13
Views: 1150

Re: BiFiles : FB bi files browser/viewer

To be honest, flFileChooser shows only a preview, not the whole textfile. Windows9 ist good too, i have tried a little. Each library has its drawbacks. The big advantage of fltk-c is it has so much examples. Makes it easy to create something out of it. And linux becomes better and better. Still ofte...
by lizard
Nov 12, 2017 23:39
Forum: Projects
Topic: BiFiles : FB bi files browser/viewer
Replies: 13
Views: 1150

Re: BiFiles : FB bi files browser/viewer

With fltk-c it would be only two lines:

Code: Select all

#include once "fltk-c.bi"
dim file as zstring ptr = flFileChooser("select a file","*.bas", ExePath(), 1)


https://imgur.com/a/vTNdb

Works in both, win and linux. :-)
by lizard
Nov 09, 2017 21:29
Forum: Beginners
Topic: wxWidgets for FreeBASIC?
Replies: 37
Views: 2176

Re: wxWidgets for FreeBASIC?

Another way would be to compile "clientdc01.bas" with -pp:

Code: Select all

fbc -pp clientdc01.bas

This produces a huge file "clientdc01.pp.bas" listing all wx-c functions avaiable. This maybe pretty obvious for some, for others it could be helpful. :-)
by lizard
Nov 09, 2017 21:00
Forum: Beginners
Topic: wxWidgets for FreeBASIC?
Replies: 37
Views: 2176

Re: wxWidgets for FreeBASIC?

For my project i use wx-c with above mentioned designer, and it is almost finished, so i dont want to switch to fltk-c or iup. After creating the main skeleton program with designer one can use the examples of designer in combination with the .bi files. There are a huge number of additional function...
by lizard
Nov 04, 2017 22:34
Forum: Community Discussion
Topic: How to write tutorials for beginners ?
Replies: 33
Views: 2258

Re: How to write tutorials for beginners ?

Personally i would prefer platform independent GUI programming with wx-c, fltk-c or maybe gtk. You can compile it for both win and linux, so why not?
by lizard
Nov 03, 2017 9:55
Forum: Community Discussion
Topic: How to write tutorials for beginners ?
Replies: 33
Views: 2258

Re: How to write tutorials for beginners ?

Carlos Herrera wrote:1. All we need are tutorials on GUI programming.


Sure? But what do you do with a GUI without any content?
by lizard
Oct 20, 2017 21:42
Forum: Community Discussion
Topic: Most important concepts to learn for a new developer (Top 50)
Replies: 34
Views: 2840

Re: Most important concepts to learn for a new developer (Top 50)

Now we are writing about what new developers should learn (experienced ones are knowing this since decades) it should be mentioned that is very useful to make backups of the previous work on usb-stick here and there. Nothing is more annoying as if all the work is destroyed by one button click or a h...
by lizard
Oct 18, 2017 17:16
Forum: Community Discussion
Topic: Most important concepts to learn for a new developer (Top 50)
Replies: 34
Views: 2840

Re: Most important concepts to learn for a new developer (Top 50)

Arrays with more dimensions or types (UDTs) are a very important thing in programming and makes many tasks easier, shorter and more elegant. But for Newbies this concept seems to be difficult to understand. Here things become abstract. Many people who don't have real feeling for programming will not...
by lizard
Oct 17, 2017 11:49
Forum: Tips and Tricks
Topic: Tiny C64 (old school)
Replies: 57
Views: 19673

Re: Tiny C64 (old school)

Great emulator! C64 was my first love and will be the last...

Go to advanced search