https://bugs.freedesktop.org/show_bug.cgi?id=57308
LeMoyne Castle <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |[email protected] Ever confirmed|0 |1 --- Comment #1 from LeMoyne Castle <[email protected]> --- Confirmed with 12/20 build of dev master. Always <Out of scope>. The lexical scope of the function name is file/module scope. IIRC, some time ago, Noel Power told me that some module scope objects have this issue. Moved to NEW. Tested global vars (working) and const items (don't work) with the following: global SomeTweak as integer const TweakToo = 2 Sub Main SomeTweak = 1 c=MySum(1,2) MsgBox c End Sub public Function MySum (a as Integer, b as Integer) MySum=SomeTweak+TweakToo MySum=a+MySum MySum=MySum*10 MySum=b+MySum End Function I know watching a const isn't very useful but there may be even more BASIC constructs that have this issue of falsely reporting <out of scope> in the Watch Window. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
