[framework-issues] [Issue 73511] Mismatch between Rnd / Ran domize Help and implementation
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=73511 --- Additional comments from u...@openoffice.org Mon Jun 14 10:51:09 + 2010 --- *** Issue 112296 has been marked as a duplicate of this issue. *** - 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: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[framework-issues] [Issue 73511] Mismatch between Rnd / Ran domize Help and implementation
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=73511 User ufi changed the following: What|Old value |New value CC|''|'ufi' --- Additional comments from u...@openoffice.org Mon Jun 14 10:58:08 + 2010 --- While this might get fixed on the way to Later, I'll update the Help in CWS hcshared27. File sbasic/shared/03080302.xhp - 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: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[framework-issues] [Issue 73511] Mismatch between Rnd / Ran domize Help and implementation
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=73511 User ab changed the following: What|Old value |New value Ever confirmed| |1 Status|UNCONFIRMED |STARTED Target milestone|--- |OOo Later --- Additional comments from [EMAIL PROTECTED] Tue Feb 20 14:28:56 + 2007 --- STARTED, OOo Later - 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]
[framework-issues] [Issue 73511] Mismatch between Rnd / Ran domize Help and implementation
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=73511 --- Additional comments from [EMAIL PROTECTED] Thu Feb 8 15:33:44 + 2007 --- Andreas, one side effect of tracking down issue 73457 is that I now really understand the invocation model is the basic RTE. Implementing full MS compatibility is doable here. At a minimum randomize should work as advertised. If you let me know which route you think is best: change the help to reflect what the code does or change the code to reflect what the help claims and I'll put this on my todo list. I do think its a P4, so I am not putting a hight priority on this one. //Terry - 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]
[framework-issues] [Issue 73511] Mismatch between Rnd / Ran domize Help and implementation
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=73511 User kr changed the following: What|Old value |New value Assigned to|kr|ab --- Additional comments from [EMAIL PROTECTED] Mon Feb 5 13:40:57 + 2007 --- Terrye, sorry for the delay. Oversaw this one ... ;-) KR - AB: Can you help? - 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]
[framework-issues] [Issue 73511] Mismatch between Rnd / Ran domize Help and implementation
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=73511 --- Additional comments from [EMAIL PROTECTED] Wed Jan 17 18:20:20 -0800 2007 --- Thinking about this, going for full functional equivalence of the VBA rnd function is going to be a little difficult. I'm not sure what the zero and negative code would do because this involve holding [thread] static variables. Not sure how you'd easily do this in the Basic runtime model. - 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]
[framework-issues] [Issue 73511] Mismatch between Rnd / Ran domize Help and implementation
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=73511 Issue #|73511 Summary|Mismatch between Rnd / Randomize Help and implementati |on Component|framework Version|OOo 2.1 Platform|All URL| OS/Version|Windows XP Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P4 Subcomponent|scripting Assigned to|kr Reported by|terrye --- Additional comments from [EMAIL PROTECTED] Tue Jan 16 03:10:49 -0800 2007 --- Sorry but another one thrown up by answering an oooforum topic: http://www.oooforum.org/forum/viewtopic.phtml?t=51526 According to /basic/source/runtime/methods.cxx, the Rnd() RTL function actually just does a return (double)rand() / (double)RAND_MAX. Likewise the Randomise() statement (that is with no parameter does a nSeed = (INT16)rand() However the corresponding help (helpcontent2/source/text/sbasic/shared files 03080302.xhp and 03080301.xhp) incorrectly state that (Randomize:) If Number is omitted, the generator uses the current value of the system timer. This is patently not the case. (Rnd:) Parameters: Expression: Any numeric expression that defines how to generate random numbers. Less than zero: Always returns the same random number. Greater than zero: Returns the next random number in the sequence. Zero: Returns the random number that was last generated. Omitted: Returns the next random number in the sequence. If the same number is passed for each successive call to the Rnd function, the same random-number sequence is generated. This is because the Expression parameter is used as a starting point for the next number. Whoever wrote the help did so on the aspiration that these both worked like VBA (since the wording seems to be a paraphrase of the VBA help). However the code does nothing like this. You need to modify one or the other so that they are consistent. If you let me know which you prefer then I can give you the appropriate changes. BTW I recommend VBA compatibility, especially since the effect of Randomize() is to do no such thing ! - 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]