[Gambas-user] someshort="xy" returns "Wanted short, got string instead"

2010-09-14 Thread kevinfishburne
I can say, somebyte=ASC("x"), but is it possible to quickly assign a two-byte string to a typical two-byte short? I'm sure this can be done with some lengthy function but (as most programmers should) I have a need for efficiency. I'm not concerned with character set mishaps for people with differ

[Gambas-user] Suggestions 4 new keywords

2010-09-14 Thread Fabián Flores Vadell
Hi Benoît. Below I expose some suggestions for new and alternative keywords. PUBLIC and PRIVATE keywords defines the scope for attributes and methods, but this words come from (or evokes) modular/structured programming. Because PUBLIC methods and attributes (and properties) define the interface fo

Re: [Gambas-user] An easy way to document a Gambas program?

2010-09-14 Thread Jussi Lahtinen
Thanks! Jussi On Tue, Sep 14, 2010 at 20:29, Fabien Bodard wrote: > normally it will work :/* (you can add a at the line end) > the text is formatable with a wiki style > > AN EXEMPLE : > > '' +Description > '' Initialize a web browser view with the help on a specific symbol. > '' +Arguments >

Re: [Gambas-user] An easy way to document a Gambas program?

2010-09-14 Thread Lord Quo
Thanks! With this example is more clear to me. :-) -- From: "Fabien Bodard" Sent: Tuesday, September 14, 2010 12:29 PM To: "mailing list for gambas users" Subject: Re: [Gambas-user] An easy way to document a Gambas program? > normally it

Re: [Gambas-user] An easy way to document a Gambas program?

2010-09-14 Thread Fabien Bodard
normally it will work :/* (you can add a at the line end) the text is formatable with a wiki style AN EXEMPLE : '' +Description '' Initialize a web browser view with the help on a specific symbol. '' +Arguments '' - #hWebView# is the WebView control to initialize. '' - #iType# is the type of the

Re: [Gambas-user] An easy way to document a Gambas program?

2010-09-14 Thread Jussi Lahtinen
Nice, just learned this! Very useful! Is it possible to do multi lined help lines? Now they are concatenated without newlines: ''Line1 ''Line2 --> Line1 Line2 Jussi On Tue, Sep 14, 2010 at 18:03, Fabien Bodard wrote: > hum... there is a way to document you class in code with the ' ' > > 'hi is

Re: [Gambas-user] An easy way to document a Gambas program?

2010-09-14 Thread Lord Quo
Ok, I will try the ''. I have gambas 3, so, no problem. :-) Thanks. -- From: "Fabien Bodard" Sent: Tuesday, September 14, 2010 10:03 AM To: "mailing list for gambas users" Subject: Re: [Gambas-user] An easy way to document a Gambas pro

[Gambas-user] Bug in Qt4 and workaround

2010-09-14 Thread Benoît Minisini
Hi, For information: There is (apparently) a bug in Qt4: if the last visible menu in the menu-bar is not the last created menu, i.e. if the last visible menu has other hidden menus to its right, then navigating between the top-level menu with the keyboard leads to a segfault. The workaround i

Re: [Gambas-user] An easy way to document a Gambas program?

2010-09-14 Thread Fabien Bodard
hum... there is a way to document you class in code with the ' ' 'hi is a comment ''hi is a help line help line must be between to class declaration or in the same line for a variable declaration too this is valid only in gb3 (and is not perfect) Maybe we need to add an export function This

Re: [Gambas-user] An easy way to document a Gambas program?

2010-09-14 Thread Lord Quo
Mmmm, the program, something like the wiki http://gambasdoc.org or the help that appears when I write code in the IDE. This help appears also with my own classes and modules. Thanks. -- From: "Fabien Bodard" Sent: Tuesday, September 14, 2