Re: Bug report : comment after "if ... then ... else"

2022-06-16 Thread Carl Marcum
Hi Lucien, On 6/16/22 4:36 AM, Lucien Mathay wrote: Thanks Mathias for introducing this part of the team ; I will also introduce myself : I am the developer of a program in VB, and I now start to translate it into Basic.  It has some complexity. You might hear more from me in the future if

Re: Bug report : comment after "if ... then ... else"

2022-06-16 Thread Lucien Mathay
Thanks Mathias for introducing this part of the team ; I will also introduce myself : I am the developer of a program in VB, and I now start to translate it into Basic.  It has some complexity. You might hear more from me in the future if I discover other strange things. Best regards,

Re: Bug report : comment after "if ... then ... else"

2022-06-15 Thread Matthias Seidel
Hi Lucien, Am 15.06.22 um 09:11 schrieb Lucien Mathay: > This bug is now fixed. Great! Thanks for the confirmation. > > Thanks Matthias. I only did provide the build. Carl found the fix and backported it... Thanks Carl for finding it and Damjan for fixing it in the first place! ;-) Regards,   

Re: Bug report : comment after "if ... then ... else"

2022-06-15 Thread Lucien Mathay
This bug is now fixed. Thanks Matthias. Le 14/06/22 à 16:52, Matthias Seidel a écrit : Hi Lucien, Please find my latest builds for Windows here: https://home.apache.org/~mseidel/AOO-builds/AOO-4113-Test/Full%20Installation/ Regards,    Matthias Am 13.06.22 um 19:05 schrieb Matthias

Re: Bug report : comment after "if ... then ... else"

2022-06-14 Thread Matthias Seidel
Hi Lucien, Please find my latest builds for Windows here: https://home.apache.org/~mseidel/AOO-builds/AOO-4113-Test/Full%20Installation/ Regards,    Matthias Am 13.06.22 um 19:05 schrieb Matthias Seidel: > Hi Lucien, > > Am 13.06.22 um 18:23 schrieb Lucien Mathay: >> Hi Mathias, >> >> yes,  I

Re: Bug report : comment after "if ... then ... else"

2022-06-13 Thread Matthias Seidel
Hi Lucien, Am 13.06.22 um 18:23 schrieb Lucien Mathay: > Hi Mathias, > > yes,  I can test it out with pleasure. Great! > > I use Windows XP.    It's the easiest for me, but I can also have > access to a Windows 10. Windows XP *should* work. Try that and if you find the time test on Win 10... I

Re: Bug report : comment after "if ... then ... else"

2022-06-13 Thread Lucien Mathay
Hi Mathias, yes,  I can test it out with pleasure. I use Windows XP.    It's the easiest for me, but I can also have access to a Windows 10. Regards, Lucien. Le 11/06/22 à 16:51, Matthias Seidel a écrit : Hi Carl, Now that the fix is in AOO41X I will prepare a new build (for Windows).

Re: Bug report : comment after "if ... then ... else"

2022-06-11 Thread Matthias Seidel
Hi Carl, Now that the fix is in AOO41X I will prepare a new build (for Windows). Maybe Lucien can test/confirm the issue is solved? @Lucien: What OS do you use? Regards,    Matthias Am 07.06.22 um 23:23 schrieb Carl Marcum: > Hi Matthias, > > On 6/7/22 6:53 AM, Matthias Seidel wrote: >> Hi

Re: Bug report : comment after "if ... then ... else"

2022-06-07 Thread Carl Marcum
Hi Matthias, On 6/7/22 6:53 AM, Matthias Seidel wrote: Hi Carl, Am 07.06.22 um 00:59 schrieb Carl Marcum: Hi Lucien, On 6/6/22 12:51 PM, Lucien Mathay wrote: Thank you Regina, but if I add an 'endif' at the end of the line   ( "  if a = b then a=1  Else a=2  endif  'test "), the compiler

Re: Bug report : comment after "if ... then ... else"

2022-06-07 Thread Matthias Seidel
Hi Carl, Am 07.06.22 um 00:59 schrieb Carl Marcum: > Hi Lucien, > > On 6/6/22 12:51 PM, Lucien Mathay wrote: >> Thank you Regina, but >> >> if I add an 'endif' at the end of the line >>   ( "  if a = b then a=1  Else a=2  endif  'test "), >> the compiler fails with the message "Syntax error :

Re: Bug report : comment after "if ... then ... else"

2022-06-06 Thread Carl Marcum
Hi Lucien, On 6/6/22 12:51 PM, Lucien Mathay wrote: Thank you Regina, but if I add an 'endif' at the end of the line   ( "  if a = b then a=1  Else a=2  endif  'test "), the compiler fails with the message "Syntax error : unexpectes symbol : End If". Furthermore, the book from   "OpenOffice

Re: Bug report : comment after "if ... then ... else"

2022-06-06 Thread Regina Henschel
Hi Lucien, Lucien Mathay schrieb am 06.06.2022 um 18:51: Thank you Regina, but if I add an 'endif' at the end of the line   ( "  if a = b then a=1  Else a=2  endif  'test "), the compiler fails with the message "Syntax error : unexpectes symbol : End If". Indeed, endif is only possible in

Re: Bug report : comment after "if ... then ... else"

2022-06-06 Thread Lucien Mathay
Thank you Regina, but if I add an 'endif' at the end of the line   ( "  if a = b then a=1  Else a=2  endif  'test "), the compiler fails with the message "Syntax error : unexpectes symbol : End If". Furthermore, the book from   "OpenOffice .org    Macros OoOffice et Apis" from Bernard

Re: Bug report : comment after "if ... then ... else"

2022-06-06 Thread Czesław Wolański
Hi, Regina Henschel schrieb am 06.06.2022 um 13:33 > >The if-statement misses endif. > Right. As I am slightly out of practice with Basic, my question might appear silly. The wiki topic "Branching" provides an example of a single-line If-Then-Else statement.

Re: Bug report : comment after "if ... then ... else"

2022-06-06 Thread Regina Henschel
Hi Lucien, Lucien Mathay schrieb am 06.06.2022 um 10:42: Hello, I would like to report the following bug : in the macros when a line containing "if ... then ... else" is followed by a comment on the same line, the compiler fails. Example : Function test()     dim a as long, b as long