I know it slows the compile/debug process, but I just use hug.bac as an INCLUDE for everything. Later I go and determine which functions I use from the HUG lib. That way I never run in to your type of problem - where the system may have an old hug.so or can't find the right one. And if you have a working BaCon or BaConGui, the program with the hug.bac INCLUDE will compile. Later you can make your hug.so and recompile, once you know that everything is working.

I replaced /usr/lib/hug.so with a link to the newer hug.so
Barry should make /usr/lib/hug.so a link to /root/my-applications/lib/hug.so

Puppy`s Save file is it`s biggest problem, it corrupts occasionally.
So I replaced the dirs. my-applications and my-documents with links to /apps and /docs dirs. on a partition so nothing`s lost.
Keep a backup Save file, to restore just copy it over the old one.

This should be a menu item, to make a gzip backup Save file, and have an option to restore it at the bootup menu.

Peter has just posted a new HUG (0.66) that now has support for vscale and hscale sliders. If you want to use these widgets, please download the latest HUG http://www.basic-converter.org/hug.bac. The documentation will be updated in due course.

SUB OUTARRAY(STRING Txt$[Size], int Size)
OPEN File$ FOR WRITING AS file
FOR i = 0 TO Size-1
WRITELN Txt$[i] TO file
NEXT
CLOSE FILE file
END SUB

Error is: Cause: 'Size' undeclared here (not in a function)
It looks like the Size needs to be declared in the SUB.
If so, then passing an array to a SUB can`t be done.

The Bacon docs say the array dimension isn`t needed to pass it to a SUB.
But that errors saying:
ERROR: cannot pass string array without dimension at line 54 in file 'test_FileIO.bac'!
So you can pass a numerical array without a dimension, but not a string array?
If that`s the case, then the Bacon docs should mention that little detail...
.

Everything after -export-dynamic up to the test.bac file name is the output from `pkg-config --cflags --libs gtk+-2.0` with the offending -lfontconfig removed. You could also remove some unnecessary linkage this way.

I'm a bit stuck with Bacon.... I wrote a screensaver (see http://www.murga-linux.com/puppy/viewtopic.php?t=76247&start=1275) more as an exercise than an useful project. But it got me underway. Thus motivated, I started on a more complex project concerning GPS.
I use a Bluetooth GPS module. I connect to it with 'rfcomm /dev/rfcomm 0 > pipe &' in BASH. Then I read the GPS data from the other end of the pipe.
In Bacon it should be, as I understand it 'SYSTEM "rfcomm /dev/rfcomm0 > pipe &". But it cannot connect ('host is down') while in BASH (terminal) all is OK.

I registered with the BACON forum 2-3 weeks ago but sofar no reply. I hope someone here can help and give me some pointers?

I cannot understand why your registration failed. BaCon's author, Peter van Eerten, allows everybody except spammers, so I don't think he has blocked your registration. Try again. It is a good place to see code and to get advice from many people doing BaCon projects.

I decided to try out BaCon and see if I can write some programs that I need so I can run them on Puppy rather than the M$-crap. I started reading what I could to find out how to set it up and get it started on Precise 5.4.3. I followed the tutorial here http://bkhome.org/bacon/gettingstarted.htm.

Wrote the program in leafpad, downloaded the devx.sfs, opened the term, made sure I was in the correct directory, entered 'bacon demo.bac' and got an error - "could not parse line 1 in file 'demo.bac'"

Did I miss something? Do I need to "turn on" something? Totally lost as to why it would not parse.