Re: [Gambas-user] gambas 3

2011-06-10 Thread Benoît Minisini
> On 21/05/11 08:47, Benoît Minisini wrote: > >> hi > >> > >> I opened a gambas 2 project with gambas 3 and was asked if i > >> wanted > >> > >> to convert it > >> witch i did thinking that i would be able to save somewhere else wrong! > >> so is there a way to convert it back to gamb

Re: [Gambas-user] Problems with gbs

2011-06-10 Thread Benoît Minisini
> This problem is now "solved". > I'm going to do distribution update, and because of that I temporarily > change my fstab: > /tmpext4relatime,nosuid,noexec0 2 > --> > /tmpext4defaults0 2 > > So, looks like even when gbs3 is not executed

Re: [Gambas-user] Cancelling TableView Edit

2011-06-10 Thread Benoît Minisini
> > > > Can you send me a little project example that shows exactly the problem? > > > > Thanks. > > Attached > bruce Hi, The bug has been fixed in revision #3878. Regards, -- Benoît Minisini -- EditLive Enterprise

Re: [Gambas-user] Extra gb.newline ?

2011-06-10 Thread tobias
oh, i'm sorry, it seems not to be possible already, i just looked at "Gedit adding a newline at the end of file should be configurable " at the end and didn't notice that it is a quotation-.- -- EditLive Enterprise is th

Re: [Gambas-user] Extra gb.newline ?

2011-06-10 Thread tobias
hi, according to https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/379367 this issue should be configurable in gedit now... i don't see it in my old version, but consider looking for it in yours. -- EditLive Enterpris

Re: [Gambas-user] Extra gb.newline ?

2011-06-10 Thread Jussi Lahtinen
One way to remove newline is use hex editor (GHex etc). Jussi On Fri, Jun 10, 2011 at 20:53, Caveat wrote: > vi will also add a newline automatically. In fact, it can be a little > tricky to make a file without the newline at the end (but of course it > can be done, as seen below)... also on

Re: [Gambas-user] Extra gb.newline ?

2011-06-10 Thread Caveat
vi will also add a newline automatically. In fact, it can be a little tricky to make a file without the newline at the end (but of course it can be done, as seen below)... also on opening, vi will complain with the message "incomplete last line"... If you are creating a text file as your output,

Re: [Gambas-user] Multiline question

2011-06-10 Thread tobias
> What do you need exactly? i think the person i am asking for means something like the backslash with defines in c: #define MACRO(a, b) a \ + b i have no snippet from him and honestly i never had such a problem. regards, tobi ---

Re: [Gambas-user] Multiline question

2011-06-10 Thread Jussi Lahtinen
What do you need exactly? Sometimes you can short lines with "With", and math can be done in multiple steps. ii = 2 + 4 * f(1 + 2) + ... --> x = 1 + 2 ii = 4 * f(x) ii += 2 + ... Or: sString = "123" --> sString = "1" & "2" & "3" Or: iInteger = 1 + 2 + 3 --> iInteger = 1 + 2 + 3 These all shou

Re: [Gambas-user] Extra gb.newline ?

2011-06-10 Thread Jussi Lahtinen
On Fri, Jun 10, 2011 at 17:57, Rolf-Werner Eilert < eilert-sprac...@t-online.de> wrote: > By the way, seeing through your code, why do you try to open the file > for write create first and then use file.save? What would be the > disadvantage of using TRY file.save alone? > Yeah, I could use 'Try

Re: [Gambas-user] Extra gb.newline ?

2011-06-10 Thread Jussi Lahtinen
Yes, you are right, gedit will add newline automatically. That was unexpected. Thanks! Jussi On Thu, Jun 9, 2011 at 23:32, tobias wrote: > hi, > without having seen the code - i think it's all ok with your code - i'd > say that the problem is in creation of the text file. editors like gedit >

Re: [Gambas-user] Extra gb.newline ?

2011-06-10 Thread Rolf-Werner Eilert
Am 09.06.2011 21:23, schrieb Jussi Lahtinen: > Hi! > I made small simple command line program to shuffle data (see attachment), > but there is strange problem. > For some reason extra newline is inserted. > > If I run this program with command; > ./Shuffler.gambas test.txt test2.txt , > > Then data

Re: [Gambas-user] Extra gb.newline ?

2011-06-10 Thread Rolf-Werner Eilert
Am 09.06.2011 21:23, schrieb Jussi Lahtinen: > Hi! > I made small simple command line program to shuffle data (see attachment), > but there is strange problem. > For some reason extra newline is inserted. > > If I run this program with command; > ./Shuffler.gambas test.txt test2.txt , > > Then data

Re: [Gambas-user] Multiline question

2011-06-10 Thread tobias
hi, > You can do like this: > > Foo=bar& > Var1& > &foo > > Which results in: "barVar1foo" > it doesn't work for me. is it a gambas3 thing? -- EditLive Enterprise is the world's most technically advanced content autho

Re: [Gambas-user] Multiline question

2011-06-10 Thread Sebi Kul
On 10/06/2011, at 09:21, tobias wrote: > hello, > i have a question about long lines. i know one can split long > IF-statements at logical operations like > IF TRUE = TRUE AND > FALSE = FALSE THEN > but is there a way to do that splitting in normal code? i think of > something like > i = \ > 2 >

[Gambas-user] Multiline question

2011-06-10 Thread tobias
hello, i have a question about long lines. i know one can split long IF-statements at logical operations like IF TRUE = TRUE AND FALSE = FALSE THEN but is there a way to do that splitting in normal code? i think of something like i = \ 2 which should end up as i = 2 for the interpreter. is there