In the Puppy documentation, reference is made to X11 Basic and we have also considered Freebasic. However now that we have a Basic (WxBasic) that is being used AND that will be included in Puppy, hopefully a new layer of Puppy programmers will become invloved.

Good news Anyone up to doing a WxBasic page on the wiki? Perhaps with a Puppy specific tutorial?

Lobster,
You are our original Basic programming guru!
So you are the obvious choice to do some extra intro docs.
If Mark writes an overview of the features of wxbasic, someone (such as
yourself) can write a beginner's guide etc.
...we may attract a whole new bunch of people, writing gui apps for Puppy!

As this is looking like a "goer", I will probably remove Gambas pupget to avoid
confusion. It's a big bloated thing anyway.

It seemed like a good idea to have /usr/lib/wxbasicscript/ for include files
built-in to the CD?

But then I wondered, can wxBasic have something like in C:
include <basefunctions.inc>
which will look in the pre-defined location for header files.
In this case, the predefined location would be /usr/lib/wxbasicscript/.
?

wxBasic needs the full path, like
include "/usr/lib/wxbasicscript/test.inc"

It also can be relative, like include "mylib/test.inc"

But it will not search in the PATH

Do you think, this would be an important feature?
I might try to implement that, but currently there is the question of priority:
new functionality, or documentation first (I tend to the documentation, as it is requested very often).

I think it is a good idea, to add /usr/lib/wxbasicscript/basefunctions.inc by default.
I will document those functions, to make it easy to use.

Nice to hear, Lobster is interested, too, if there are any question, plz ask.
I would suggest to ask programming questions in the wxbasic-board, so David Cuny has an insight what people need as possible addons.
Also, there are some more programmers, that might beinterested in contributing things, as I wrote somewhere, Jerry Muelver currently is writing an authoring sytem based on my wxB-Card (wxB-Card is included in the wxIconbar-dotpup http://www.murga.org/%7Epuppy/viewtopic.php?t=2310

Shame about Gambas
I played with it and liked it but Wxbasic is being used (big difference)

is wxbasicscript (the run time interpreter) gonna be in 1.0.5 - 1.0.6? or will the full wxbasic be available? .

I did not use Gambas yet, but read about it.
It seems to be the "best" Basic around for Linux.

Though, it has the same problem as wxBasic: size.
So I would assume just to use wxbasicscript, and to leave gambas and wxBasic as additional Pupgets or Dotpups.

Yes, the concept is different.
Gambas main-goal is to provide an IDE like Visual Basic, but started highly platform-dependent (KDE), now slowly approaching other Libs (Gtk).

wxBasics main goal is platform-independance, Linux, Windows, MacOSX (this goal was reached).
But is has no IDE yet.
Meanwhile there is an Editor (wxEditor, Part of wxIconbar).
The Windows-Version of wxeditor has a Prototype of a grafical GUI-Builder, but this was incompatible with Linux/Gtk, so at moment it is completely rewritten.

Both Projects are in a relatively early state (though already usable depending on your goals), what explains the current differences.

Btw. wxbasicscript breaks the concept of platform-independance,by adding the "xwin_XXX()"-functions, that rely on a Xserver, and allow some things not possible on Windows (like moving or minimizing windows).
My goal is to provide a minimalistic (in size) language to build small system-tools.

The "\n" is a "Line-Feed", so you get an empty line in the dialogbox.
Note the line
dialog = readfile ( STARTDIR & "/menubox1.tpl" )

The Variable STARTDIR holds the folder of your script. Just like this you can be shure, your template will be found.

Using templates has advantages:
- Your mainscript gets shorter (easier to read)
- You can copy&paste lines from the Xdialog-examples at http://xdialog.dyns.net/ ,and just have to delete the"\" in the end of each line.Last edited by MU on Sun 18 Sep 2005, 14:59; edited 5 times in total

You must do it, as the idea of using the folder /usr/lib/wxbasicscript/ is new (proposed by Barry).
I did not mention that in the tut, as it is assumed to be added to 1.0.5, where all paths will be setup correctly.

Sorry if my tut has errors, I just started writing it, and had not tested the examples.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum