To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=58089
                  Issue #:|58089
                  Summary:|oo Basic: static variables looses content
                Component:|framework
                  Version:|OOo 2.0
                 Platform:|PC
                      URL:|
               OS/Version:|Windows XP
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|ui
              Assigned to:|tm
              Reported by:|frahan





------- Additional comments from [EMAIL PROTECTED] Thu Nov 17 22:32:52 -0800 
2005 -------
Within procedure / function static variables should maintain it's content.
Every time the proc is entered, the variable x contain the value 0.

example:
sub test01
 static x as integer

 if x = 0 then
    x = 5
 else
   print x
 end if

end sub

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to