On Wed, 2012-08-08 at 22:10 -0700, John Spikowski wrote:
> On Wed, 2012-08-08 at 21:29 -0700, John Spikowski wrote:
> > Is there a Gambas 3 ARM binary package available to try?
> >
> I was unable to install autoconf/automake/libtool on Ubuntu ARM.
> (unavailable via apt-get)
>
> Looks like my onl
On Wed, 2012-08-08 at 21:29 -0700, John Spikowski wrote:
> Is there a Gambas 3 ARM binary package available to try?
>
I was unable to install autoconf/automake/libtool on Ubuntu ARM.
(unavailable via apt-get)
Looks like my only hope is a Gambas3 binary distribution to run on my
chroot instance of
Is there a Gambas 3 ARM binary package available to try?
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respon
Ahh I like that idea!
I 'm now using Gambas 3 ;)
When you say make module do you mean make an actual module(Right
click>>new>>module)
or can i add this code to the FMain form??
CODE
Public sub Main()
Connections["MyConnection"].Open
End
Fabien Bodard-4 wrote:
>
> 2012/8/8 Adam Ant
>
>> On
Fabien Bodard-4 wrote:
>
> 2012/8/8 Adam Ant
>
>> On Wed, Aug 8, 2012 at 2:59 PM, Fabien Bodard
>> wrote:
>> > Le 8 août 2012 04:49, "Adam Ant" a écrit :
>> >> The answer is:
>> >>
>> > It's create
>> >> rTable=$hConn.create("Inventory",> >> want to update>)
>> >> IF rTable.Available then
>
The first one works.
Haven't tried the second one.
Wasn't aware of '$conn.Opened().
But it's good to know
On Thu, 2012-08-09 at 12:51 +0930, Adam Ant wrote:
> On Thu, Aug 9, 2012 at 12:35 PM, rocko wrote:
> > Ok if I replace the 'Else If' with an 'Else'
> > I get an error:
> > Else without If.
>
On Thu, Aug 9, 2012 at 12:38 PM, Adam Ant wrote:
> Oh Noes!
> I have just hit my first problem with the serverpages scripting.
>
> ">
>
> I can't figure out how to escape the quotes around the string
> parameter for the GetResourceLocn(sName As String) function call.
> That function, btw, ju
On Thu, Aug 9, 2012 at 12:35 PM, rocko wrote:
> Ok if I replace the 'Else If' with an 'Else'
> I get an error:
> Else without If.
> But there is an 'If' after the 'Try'.
> unless you can't put an 'Else' after an 'Try...If'
Ah! No you can't use
Try If blahblahblah
(and there are some other thi
Oh Noes!
I have just hit my first problem with the serverpages scripting.
">
I can't figure out how to escape the quotes around the string
parameter for the GetResourceLocn(sName As String) function call.
That function, btw, just returns a path to a cache directory in /tmp
and it works fine
Ok if I replace the 'Else If' with an 'Else'
I get an error:
Else without If.
But there is an 'If' after the 'Try'.
unless you can't put an 'Else' after an 'Try...If'
On Thu, 2012-08-09 at 12:25 +0930, Adam Ant wrote:
> On Thu, Aug 9, 2012 at 11:23 AM, rocko wrote:
> > Trying to get a message.in
On Thu, Aug 9, 2012 at 11:23 AM, rocko wrote:
> Trying to get a message.info to display when a successful connection
> to a database is made.
> Tried using an 'Else If' after a 'Try $hConn.Open' statement
> but that gives an error.
> So tried a simple 'If' but I'm not sure how the syntax should be
Trying to get a message.info to display when a successful connection
to a database is made.
Tried using an 'Else If' after a 'Try $hConn.Open' statement
but that gives an error.
So tried a simple 'If' but I'm not sure how the syntax should be.
CODE:
Try $hConn.Open
If Error Then Print "Database
Le 26/07/2012 16:06, Benoît Minisini a écrit :
> Le 26/07/2012 16:01, Ricardo Díaz Martín a écrit :
>> For me it's enough in qt4.
>>
>> Thanks in advance for your time!
>>
>> Regards,
>> Ricardo Díaz
>>
>
> For you. But for me, I won't add a feature to gb.qt4 if I can't add it
> to gb.gtk!
>
>
OK,
Le 05/08/2012 18:33, Emil Lenngren a écrit :
> If there is a pending gosub + a catch, the gosub things on the stack are
> erased, so when returning back, invalid values are copied from the stack.
>
> So at stack unwinding, the gosub slots must be kept.
>
> This crashes the interpreter now (or puts
Morning all,
I'm having a go at learning how to use this web scripting facility.
Attached is a little project that uses it to load a file into a webkit
WebView control (IOW no server needed). It seems to work fine except
there are two lines at the top of the returned page (before )
that look li
I have another problem. I have since updated to gambas3 btw, 3.11.
I have made another form,(FNew), basically moved the addNew procedure
to the new form.
The addNew btn on the FMain form just opens the new form(FNew.Show).
I have a "Commit" button that use the same code the addNew one did form
t
The jit compiler kind of works.. sometimes, and sometimes not, after I
changed the target triple and data layout to arm.
Creation of llvm code and optimization always seem to work, but the native
code emitter does not seem to be that stable...
/Emil
2012/8/8 John Spikowski
> On Wed, 2012-08-08
On Wed, 2012-08-08 at 21:40 +0200, Benoît Minisini wrote:
> Le 08/08/2012 21:39, Emil Lenngren a écrit :
> > Yay, the IDE works too, and it is actually faster than I expected. I think
> > it is not "sluggish" at all!
> > It is just that most of the IDE windows are a bit too large for my 720x576
> >
Updates:
Status: Fixed
Comment #2 on issue 295 by benoit.m...@gmail.com: Problem on inheritance
http://code.google.com/p/gambas/issues/detail?id=295
Error message added in revision #5017.
--
Live Security Virtua
Le 08/08/2012 21:40, Benoît Minisini a écrit :
> Le 08/08/2012 21:39, Emil Lenngren a écrit :
>> Yay, the IDE works too, and it is actually faster than I expected. I
>> think
>> it is not "sluggish" at all!
>> It is just that most of the IDE windows are a bit too large for my
>> 720x576
>> tv...
>>
Le 08/08/2012 21:13, Emil Lenngren a écrit :
> I finally managed to compile the main components (compiler/interpreter) and
> run the benchmark "primes" (takes 430 seconds, compared to 20 seconds for
> standard x86).
>
> What I don't like is the reconf-scripts. Even for components that take ~10
> se
Le 08/08/2012 21:39, Emil Lenngren a écrit :
> Yay, the IDE works too, and it is actually faster than I expected. I think
> it is not "sluggish" at all!
> It is just that most of the IDE windows are a bit too large for my 720x576
> tv...
>
Screenshot! Screenshot!
--
Benoît Minisini
Yay, the IDE works too, and it is actually faster than I expected. I think
it is not "sluggish" at all!
It is just that most of the IDE windows are a bit too large for my 720x576
tv...
2012/8/8 Emil Lenngren
> I finally managed to compile the main components (compiler/interpreter)
> and run the
Updates:
Status: Fixed
Labels: -Version Version-TRUNK
Comment #1 on issue 299 by benoit.m...@gmail.com: IDE: CComponent logic and
libraries that export forms
http://code.google.com/p/gambas/issues/detail?id=299
It should be fixed in revision #5019.
I finally managed to compile the main components (compiler/interpreter) and
run the benchmark "primes" (takes 430 seconds, compared to 20 seconds for
standard x86).
What I don't like is the reconf-scripts. Even for components that take ~10
seconds to compile, I first have to run the ./reconf scrip
So to be exact, it's the same mecanism for all other database.
If you declare a variable (as $hConn) in a PUBLIC SUB, the variable is local of
this PUBLIC SUB
so if you want to use a variable in all a Form or Module or Class, you need to
declare your variable at the beginning of this Form and no
Thank you sir;
You get a cookie :)
Your example works fine.
'Public' instead of 'Private' for the $hConn as Connection was the key I
believe, as was a few other small syntax related items.
The E-Book I was following(Much older version of gambas) I don't think
even mentions declaring it as either.
Updates:
Status: Fixed
Comment #5 on issue 296 by benoit.m...@gmail.com: cant select item in
combobox
http://code.google.com/p/gambas/issues/detail?id=296
Fixed in revision #5018.
--
Live Security Virtual Conf
Hello,
I think your problem is that you don't understand how to use sqlite database..
You don't renew a connection every time you want to use it.
- You open the database at the beginning of your program
- You work with it by updating it
- Before you close you program, you close the database
So
If I do that I get an error:"$hConn already declared in FMain Class"
I already have a "Private $hConn As Connection" in the class Form.
If I put in the btnAdd sub I get:"Unexpected Private in Fmain Class"
On Wed, 2012-08-08 at 20:18 +0200, Fabien Bodard wrote:
> Do not do dim hconn...
>
> Just
Do not do dim hconn...
Just say
Private $hconn as new connection
Le 8 août 2012 20:14, "rocko" a écrit :
> Is it DB.Create/DB.Commit?? I was using $hConn.Create and so on.
>
> I'm getting 'Connection Not Opened" error when click the Add_new btn.
>
>
> btnConnect CODE:
> PRIVATE $hConn AS Connec
Is it DB.Create/DB.Commit?? I was using $hConn.Create and so on.
I'm getting 'Connection Not Opened" error when click the Add_new btn.
btnConnect CODE:
PRIVATE $hConn AS Connection
PUBLIC SUB btnConnect_Click()
DIM $hConn AS NEW Connection
$hConn.Host = "/home/rocko/DataBases"
$hConn.
Oh yes forgot to mention I have that code in a 'connect' button.
PUBLIC SUB btnConnect_Click()
DIM $hConn AS NEW Connection
WITH $hConn
.Type = "sqlite3"
.Host = "/home/rocko/DataBases"
.Name = "my_test.sqlite"
END WITH
TRY $hConn.Open
IF ERROR THEN PRINT "Database can
Private $hConn as New Connection
Public sub _New()
$hConn .Host = "dir of bdd"
$hConn.Name = "MyBdd"
$hConn.Type = "sqlite"
$hConn.Open
End
PUBLIC SUB btnAdd_Click()
DIM rTable AS Result
rTable = DB.Create("inventory")
rTable!name = txtName.Text
TRY rTable.Update
IF ER
Im now getting error's.
I was getting a "connection not opened" error message, so I add
a $hConn.Open before the $hConn.Begin.
I'm now getting a "Driver name missing" error.
CODE:
PUBLIC SUB btnAdd_Click()
DIM $hConn AS NEW Connection
DIM rTable AS Result
$hConn.Open
$hConn.Begin
'$hCo
2012/8/8 rocko
> Is there anyway to translate that??
>
google ?
>
> On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote:
> > it's in french but ...
> >
> > http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html
> >
> ---
Is there anyway to translate that??
On Wed, 2012-08-08 at 19:01 +0200, Fabien Bodard wrote:
> it's in french but ...
>
> http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html
> --
> Live Security Virtual
it's in french but ...
http://www.gambasforge.org/code-56-apprehender-sqlite-avec-gambas.html
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has chan
2012/8/8 rocko
> Ok I've tried all the suggestions you all have made and none of them
> work.
> I don't get any error's printed, the table just wont update.
> Should 'rtable' be AS Result or AS String??
>
a result !!!
db.exec, db.create, db.edit return result !
dim rTable as result
>
>
> On
Ok I've tried all the suggestions you all have made and none of them
work.
I don't get any error's printed, the table just wont update.
Should 'rtable' be AS Result or AS String??
On Wed, 2012-08-08 at 15:33 +0930, Adam Ant wrote:
> On Wed, Aug 8, 2012 at 2:59 PM, Fabien Bodard wrote:
> > Le 8
Updates:
Labels: -Version-3.2.1 Version-3.2.0
Comment #4 on issue 296 by benoit.m...@gmail.com: cant select item in
combobox
http://code.google.com/p/gambas/issues/detail?id=296
(No comment was entered for this change.)
-
Updates:
Status: Accepted
Labels: -Version Version-3.2.1
Comment #3 on issue 296 by benoit.m...@gmail.com: cant select item in
combobox
http://code.google.com/p/gambas/issues/detail?id=296
OK, I could reproduce it with the project: the list pops up if you
double-click, and mos
Comment #2 on issue 296 by johang...@gmail.com: cant select item in combobox
http://code.google.com/p/gambas/issues/detail?id=296
when i click in combobox don't see the list of items
Version: 3.2.1
Operating system: Linux
Distribution: Ubuntu
Architecture: x86
GUI component: GTK+
Desktop used: G
On 08/07/2012 10:34 PM, Adam Ant wrote:
> On Wed, Aug 8, 2012 at 11:30 AM, Stephen Bungay wrote:
>> So nothing on this then? It just is what it is?
>>
>> On 08/04/2012 12:58 PM, Stephen Bungay wrote:
>>> Fedora 13
>>> Gambas 3.2.90
>>> Gnome 2
>>>
>>> Four input boxes are arranged on a ta
2012/8/8 Adam Ant
> On Wed, Aug 8, 2012 at 2:59 PM, Fabien Bodard wrote:
> > Le 8 août 2012 04:49, "Adam Ant" a écrit :
> >> The answer is:
> >>
> > It's create
> >> rTable=$hConn.create("Inventory", >> want to update>)
> >> IF rTable.Available then
> >> rTable!name=txtName.Text
> >> rTable
45 matches
Mail list logo