Search found 373 matches

by lizard
Nov 19, 2018 7:28
Forum: Linux
Topic: Best Distro for FB
Replies: 38
Views: 2099

Re: Best Distro for FB

Here you can read the explanation of distrowatchs ranking: https://distrowatch.com/dwres.php?resource=popularity The DistroWatch Page Hit Ranking statistics are a light-hearted way of measuring the popularity of Linux distributions and other free operating systems among the visitors of this website....
by lizard
Nov 18, 2018 17:49
Forum: Linux
Topic: Best Distro for FB
Replies: 38
Views: 2099

Re: Best Distro for FB

While trying and seeking around, I noticed that in recent years Manjaro climbed the distrowatch list real quick and is now at the top by leaps and bounds. Last time I checked it showed around 4000 HPD. This is interesting because Mint used to top the ranking for years. Remember, the distrowatch ran...
by lizard
Nov 18, 2018 9:31
Forum: Linux
Topic: Best Distro for FB
Replies: 38
Views: 2099

Re: Best Distro for FB

News from the Linux front:

Had no problems with Mint 18.3 till now. No updates at all and a 99% less busy HD. Sometimes i boot into Win for a few things. Mint is really fantastic!
by lizard
Aug 01, 2018 18:51
Forum: Linux
Topic: Semi-automatic generation of FB program from glade 2 files
Replies: 4
Views: 487

Re: Semi-automatic generation of FB program from glade 2 files

Hi TJF, i have seen your name many times in threads about gtk. You seem to be one with deeper understanding of gtk together with FB. Yes, i have researched some time about gtk and tried your GladeToBac. But afaik only few of base elements like clist, vbox and hbox are deprecated, so you cant say who...
by lizard
Jul 22, 2018 10:57
Forum: Linux
Topic: Semi-automatic generation of FB program from glade 2 files
Replies: 4
Views: 487

Re: Semi-automatic generation of FB program from glade 2 files

On Win (or Linux) even a complete manual conversion from glade 2 C files to FB is not quite difficult. Much can be done with search/replace. In case of the above example its mainly 4 steps: Including header in c #include <gtk/gtk.h> becomes in FB #include once "gtk/gtk.bi" Alll other "...
by lizard
Jul 20, 2018 22:07
Forum: Linux
Topic: Semi-automatic generation of FB program from glade 2 files
Replies: 4
Views: 487

Semi-automatic generation of FB program from glade 2 files

Here i want to describe a procedure of semi-automatic generation of gtk-gui-forms from glade 2 to FB. To keep things short: 1. Find and install glade 2 (not 3, because the code generation was stopped there) in Windows (10 or whatever). 2. Design your form in glade 2. In Options choose a folder on us...
by lizard
Jul 18, 2018 23:37
Forum: General
Topic: How do I convert TTF fonts to anti-aliased bitmap fonts?
Replies: 4
Views: 421

Re: How do I convert TTF fonts to anti-aliased bitmap fonts?

Muttonhead wrote:https://www.freebasic-portal.de/dlfiles/88/CharSet2FBFont.zip


Works here on Mint if in FileRequester.bas

#include once "SimpleToggle.bas"

the "t" is changed to uppercase. Thanks, nice program, used it before.
by lizard
Jul 12, 2018 10:00
Forum: Beginners
Topic: Converting
Replies: 8
Views: 522

Re: Converting

"If you have to fix something, use fix without becoming a fixer, that fixes all."
by lizard
Jul 12, 2018 8:04
Forum: Beginners
Topic: Converting
Replies: 8
Views: 522

Re: Converting

Why not?
by lizard
Jul 12, 2018 7:25
Forum: Beginners
Topic: Converting
Replies: 8
Views: 522

Re: Converting

TurtleProgrammer wrote:Is there a way to convert say: 1.019 to 1.0 and store the result in a variable? I found PRINT USING, but of course that prints to the screen which I don't want to do.


Code: Select all

dim as single x = 1.019, i
i = fix(x)
'print i


That should be exactly what you want.
by lizard
Jul 01, 2018 21:07
Forum: General
Topic: Random Numbers Using Text
Replies: 5
Views: 327

Re: Random Numbers Using Text

Maybe with 14 he would have learned to use the white keys on piano.
by lizard
Jul 01, 2018 18:13
Forum: Linux
Topic: install_libs.sh for FB and more
Replies: 0
Views: 350

install_libs.sh for FB and more

This script installs many libs needed for FB examples and others on Mint and Ubuntu.. Just make it executable and run with "./install_libs.sh". Tested on Mint Cinnamon 18.2. #!/bin/sh # install_libs.sh # installs many libs needed for FreeBasic 1.05 examples # under Mint 18.3 or other linux...
by lizard
Jul 01, 2018 18:06
Forum: Beginners
Topic: Regular expressions
Replies: 28
Views: 1151

Re: Regular expressions

On Linux Mint the libs often are much easier to find. Just do

Code: Select all

sudo apt-get install libtre-dev


I have posted a script for many libs in the linux forum.
viewtopic.php?f=5&t=26838&p=249012#p249012
by lizard
Jul 01, 2018 17:59
Forum: General
Topic: Random Numbers Using Text
Replies: 5
Views: 327

Re: Random Numbers Using Text

Really? Who was that?
by lizard
Jun 30, 2018 17:23
Forum: Beginners
Topic: How to work with Excel and Word documents
Replies: 6
Views: 406

Re: How to work with Excel and Word documents

It would depend what exactly you want to work with excel. For only a few tables it is maybe easier to transform them into FB arrays. With gtk or other gui you can create gridboxes.

Go to advanced search