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] 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