Hi all ...
With the library for XML I can, without problems ...
1 .- Create new XML file
2 .- Read any XML file
What I can not do is change just one attribute of an element of an
existing file. Does anyone have a sample?
Greetings
--
Mauricio Baeza
10 años usando OpenOffice.org, libre, grat
> > More...
> >
> > Dim TestSingle As Single
> > Dim pp As Pointer
> >
> > TestSingle = 33.1
> > pp = VarPtr(TestSingle)
> >
> > SinglePtr(pp) = 33.1 is False! Gives -2...
> >
> > Jussi
>
> Actually SinglePtr() cannot work on local variables, because internally
> there is no "Single" local
> More...
>
> Dim TestSingle As Single
> Dim pp As Pointer
>
> TestSingle = 33.1
> pp = VarPtr(TestSingle)
>
> SinglePtr(pp) = 33.1 is False! Gives -2...
>
>
> Jussi
>
Actually SinglePtr() cannot work on local variables, because internally there
is no "Single" local variable, only "Float
> More...
>
> Shouldn't Finally to be read after Catch, not before?
> Now I get:
> TestErrorManagment(1) = 1 <-- Catch is never read!
> TestErrorManagment(2) = 21
>
> I exepected;
> TestErrorManagment(1) = 4
> TestErrorManagment(2) = 21
>
> Right now word Finally doesn't do anything.
>
>
> Pr
OK, these are not the errors I meant... These are obviously my errors.
I fixed Format$ to be compared against Str$().
There might be other similar errors too...
Jussi
2010/11/15 Benoît Minisini
> > If Format$(Pi, "#.##") <> 3.14 Then
> > Return 85
> > Endif
> >
> > this test can be true only
> Hi,
>
> How to display '&' character? I tried:
>
> Message.Info("&")
> Message.Info("&&")
> Message.Info(chr(38))
> Message.Info("&abc")
> Message.Info("abc &")
>
> And got empty message box.
The bug has been fixed in revision #3295.
Regards,
--
Benoît Minisini
---
Hello ...
A few days ago the following code worked
Dim oDocXML As XmlDocument
oDocXML.Open ("/home/user/file.xml")
Now, it gives me the error statement Null Object
I tried it in Gambas 2.21 in ArchLinux x64 x64 and Ubuntu 10.10
Can anyone prove it?, Thanks
--
Mauricio Baeza
10 años usando
> If Format$(Pi, "#.##") <> 3.14 Then
> Return 85
> Endif
>
> this test can be true only in country where decimal separator is "."
>
>
> in france ... the decimal separator is ","... then you compare a
> string to a float !!
>
> All the error i have are based on this problem.
>
The problem is
If Format$(Pi, "#.##") <> 3.14 Then
Return 85
Endif
this test can be true only in country where decimal separator is "."
in france ... the decimal separator is ","... then you compare a
string to a float !!
All the error i have are based on this problem.
---
Am Montag, den 15.11.2010, 19:56 +0100 schrieb tobias:
> hi,
> i have again another question about the result object...
> when i do:
> hResult = hConnection.Edit("table")
>
> i get a read/write result, i can move through the elements and edit
> their fields, e.g.
> hResult.MoveTo(2)
> hResult["id
hi,
i have again another question about the result object...
when i do:
hResult = hConnection.Edit("table")
i get a read/write result, i can move through the elements and edit
their fields, e.g.
hResult.MoveTo(2)
hResult["id"] = 10
right?
but where do i have to move to to add one (or more) new e
Hi!
My quick&dirty side project for Gambas 3 is now ready to be share.
It makes some seemingly stupid and some, actually stupid tests, to confirm
that current revision works.
It is far from perfect, but better than nothing.
I hope people keep on improving this. There are still few untested commands
It appears to me (in Gambas 2) that some properties of TabStrip .Tab items,
such as Caption, are only settable via code if the item is visible.
PUBLIC SUB Form_Open()
DIM ix AS Integer
TabStrip1.Count = 9
FOR ix = 1 TO 9
TabStrip1[ix - 1].Text = ix
IF ix > 6 THEN TabStrip1[ix -
13 matches
Mail list logo