[Bug 160321] On GoSub statement does not work properly

2024-04-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160321

Andreas Heinisch  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|libreoffice-b...@lists.free |andreas.heini...@yahoo.de
   |desktop.org |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160321] On GoSub statement does not work properly

2024-03-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160321

--- Comment #7 from Andreas Heinisch  ---
Thank you Rafael for the ping. It is on my list. Lot of work currently so less
libreoffice  :(

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160321] On GoSub statement does not work properly

2024-03-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160321

Rafael Lima  changed:

   What|Removed |Added

 CC||andreas.heini...@yahoo.de

--- Comment #6 from Rafael Lima  ---
@Andreas, this one might interest you.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160321] On GoSub statement does not work properly

2024-03-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160321

raal  changed:

   What|Removed |Added

Version|7.6.5.2 release |4.1.0.4 release
 Ever confirmed|0   |1
 OS|macOS (All) |All
 CC||r...@post.cz
 Status|UNCONFIRMED |NEW
 Blocks||107659

--- Comment #5 from raal  ---
I can confirm with Version 4.1.0.0.alpha0+ (Build ID:
efca6f15609322f62a35619619a6d5fe5c9bd5a)
and
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2887ffbf240aa70330cb50bf810170cf9c896405
CPU threads: 4; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded Jumbo

Help:
https://help.libreoffice.org/latest/en-US/text/sbasic/shared/03090303.html?DbPAR=BASIC#bm_id3153897
"If expression is 0, the statement is not executed."


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=107659
[Bug 107659] [META] Macro bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160321] On GoSub statement does not work properly

2024-03-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160321

--- Comment #4 from Jean-Pierre Sanchez  
---
Hello

Could you tell me if you get the same result when you run the following code?
Cheers

Sub Main
Dim i As Integer
GoSub Sub1
Print i
Exit Sub
Sub1: 
On 0 GoSub SubA, SubB
i=i+1
Return
SubA: Return
SubB: Return
End Sub

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160321] On GoSub statement does not work properly

2024-03-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160321

--- Comment #3 from Jean-Pierre Sanchez  
---
Thanks Rafael for your quick response.

I made a mistake when I copied the code.
Change 'On 1 GoSub SubA, SubB' By 'On 0 GoSub SubA, SubB'
You'll get 2 as result
Cheers

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160321] On GoSub statement does not work properly

2024-03-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160321

--- Comment #2 from Rafael Lima  ---
Created attachment 193251
  --> https://bugs.documentfoundation.org/attachment.cgi?id=193251=edit
Result from the macro

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 160321] On GoSub statement does not work properly

2024-03-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=160321

Rafael Lima  changed:

   What|Removed |Added

 CC||rafael.palma.l...@gmail.com

--- Comment #1 from Rafael Lima  ---
I copied the code, pasted it on the Basic IDE and ran it... I got 1 as result.

Can you test this again?

System info

Version: 24.2.1.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 12; OS: Linux 6.5; UI render: default; VCL: kf5 (cairo+wayland)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 4:24.2.1~rc2-0ubuntu0.23.10.1~lo1
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.