[MWiki] Account creation

2015-10-12 Thread Brenda Creegan
I'd like a personal account, with username BCreegan 
  

Re: building problems with recent changes -- /sal/qa/osl module

2015-10-12 Thread Don Lewis
On 10 Oct, Damjan Jovanovic wrote:
> The FreeBSD buildbot and 1 Linux buildbot have also been getting this, yet
> 2 of us now couldn't reproduce it.
> 
> Please provide:
> * SVN revision
> * full configure options
> * the compile log from earlier on (containing the command run that produces
> that error)
> 
> Thank you
> Damjan
> 
> 
> On Fri, Oct 9, 2015 at 11:07 PM, Kay Schenk  wrote:
> 
>> Hello --
>>
>> Currently, I am having problems building due to some recent changes in
>> sal/qa/osl/
>>
>>
>> sal/qa/osl/thread/test_thread.cxx seems to be successfully compiled but on
>> making qa_osl_thread, I am getting the following errors --
>>
>> /usr/bin/ld: cannot find -lsalcpprt
>> collect2: ld returned 1 exit status
>> dmake:  Error code 1, while making '../../../
>> unxlngi6.pro/bin/qa_osl_thread'
>>
>> Any help appreciated.


The FreeBSD buildbot seems to be happy now.

I wonder if this an out of order build problem.  In my last build I
see that the sal_ut_osl_pipe, sal_ut_osl_condition, and sal_ut_test
tests are all successfully run before the qa_osl_thread test, and all of
them use -lsalcpprt.  If I'm intepreting man/sal/prj/build.lst
correctly, the first three of those are all specifying sa_cpprt.u as a
dependency:

sa sal\qa\osl\pipe nmake - all sa_qa_osl_pipe sa_util  sa_cpprt.u NULL
sa sal\qa\osl\condition nmake - all sa_qa_osl_condition sa_util sa_cpprt.u NULL
sa sal\qa\sal nmake - all sa_qa_sal sa_util  sa_cpprt.u NULL

whereas qa_osl_thread does not:
sa sal\qa\osl\thread nmake - all sa_qa_osl_thread sa_util NULL

I wonder if the failing builds are trying to run the thread test before
the libsalcpprt has been built?


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Starting Fourth Volunteer Orientation Module

2015-10-12 Thread Lalith Ramesh
I just finished the third volunteer orientation module, and have started
working on the fourth one.


Re: building problems with recent changes -- /sal/qa/osl module

2015-10-12 Thread Kay Schenk


On 10/11/2015 04:28 PM, Don Lewis wrote:
> On 10 Oct, Damjan Jovanovic wrote:
>> The FreeBSD buildbot and 1 Linux buildbot have also been getting this, yet
>> 2 of us now couldn't reproduce it.
>>
>> Please provide:
>> * SVN revision
>> * full configure options
>> * the compile log from earlier on (containing the command run that produces
>> that error)
>>
>> Thank you
>> Damjan
>>
>>
>> On Fri, Oct 9, 2015 at 11:07 PM, Kay Schenk  wrote:
>>
>>> Hello --
>>>
>>> Currently, I am having problems building due to some recent changes in
>>> sal/qa/osl/
>>>
>>>
>>> sal/qa/osl/thread/test_thread.cxx seems to be successfully compiled but on
>>> making qa_osl_thread, I am getting the following errors --
>>>
>>> /usr/bin/ld: cannot find -lsalcpprt
>>> collect2: ld returned 1 exit status
>>> dmake:  Error code 1, while making '../../../
>>> unxlngi6.pro/bin/qa_osl_thread'
>>>
>>> Any help appreciated.
> 
> 
> The FreeBSD buildbot seems to be happy now.
> 
> I wonder if this an out of order build problem.  In my last build I
> see that the sal_ut_osl_pipe, sal_ut_osl_condition, and sal_ut_test
> tests are all successfully run before the qa_osl_thread test, and all of
> them use -lsalcpprt.  If I'm intepreting man/sal/prj/build.lst
> correctly, the first three of those are all specifying sa_cpprt.u as a
> dependency:
> 
> sa sal\qa\osl\pipe nmake - all sa_qa_osl_pipe sa_util  sa_cpprt.u NULL
> sa sal\qa\osl\condition nmake - all sa_qa_osl_condition sa_util sa_cpprt.u 
> NULL
> sa sal\qa\sal nmake - all sa_qa_sal sa_util  sa_cpprt.u NULL
> 
> whereas qa_osl_thread does not:
> sa sal\qa\osl\thread nmake - all sa_qa_osl_thread sa_util NULL
> 
> I wonder if the failing builds are trying to run the thread test before
> the libsalcpprt has been built?

Hi Don --

I spent some time looking into this yesterday. I think your analysis
could be correct. I will investigate further today when I get a
chance. I'm not sure why it's just seems to be affecting MY 32-bit
Linux build however. :(


-- 

MzK

“The journey of a thousand miles begins
 with a single step.”
  --Lao Tzu



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: [MWiki] Account creation

2015-10-12 Thread Keith N. McKenna
Brenda Creegan wrote:
> I'd like a personal account, with username BCreegan
> 

The account BCreegan has been created and a temporary password has been
sent to your e-mail. The password should be changed upon first login.

Regards
Keith



signature.asc
Description: OpenPGP digital signature


Download problem

2015-10-12 Thread Thelma Osburg
I have used open office for years and love it.  I have been attempting to 
download to a new  Windows 8.1 computer and after navigating the unsafe click 
bait of Sourceforge not clicking anything, the download starts as expected.  
Then it always stops at around 20 to 50 Mb and just sits there.  What do I do?






Sent from Windows Mail

[API] Priority Problem with AND and OR

2015-10-12 Thread Mathias Röllig

Hello!

I stumbled into a priority problem with the boolean operators AND and 
OR. I cannot find any documentation for this.


First mathematical examples.

With
MsgBox( 3 * 2 ^ 2 )
you will see, that ^ has a higher priority than *.
(2 ^ 2) = 4
4 * 3 = 12
With
MsgBox( (3 * 2) ^ 2 )
you will get the right result 6 ^ 2 = 36.

With
MsgBox( 3 + 4 * 3 )
you will see, that * has a higher priority than +.
(4 * 3) = 12
3 * 12 = 36
With
MsgBox( (3 + 4) * 3 )
you will get the right result 7 * 3 = 21.

Now looking at the same logic with logical operators.

Dim bResult As Boolean
bResult = TRUE Or FALSE And TRUE
MsgBox( bResult )
bResult = TRUE Or TRUE And FALSE
MsgBox( bResult )

What do you expect?
For logical operations AND is equivalent to * and OR is equivalent to +.
AND should have a higher priority than OR, so I would expect in both 
cases (because TRUE Or () = TRUE):

bResult = TRUE
But you will get
TRUE Or FALSE And TRUE = (TRUE Or FALSE) And TRUE = TRUE
TRUE Or TRUE And FALSE = (TRUE Or TRUE) And FALSE = FALSE

Is there any explanation that AND and OR have (and should have) the same 
priority?


Regards, Mathias

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: [API] Priority Problem with AND and OR

2015-10-12 Thread Andrew Pitonyak
Yes, I note this travesty in OOME. There is also a difference in the 
way that it handles exponentiation. Standard rules indicate that 2^3^4 
is evaluated as 2^(3^4) rather than (2^3)^4, wihch is what OOo does.



On 12.10.2015 15:40, Mathias Röllig wrote:

Hello!

I stumbled into a priority problem with the boolean operators AND and
OR. I cannot find any documentation for this.

First mathematical examples.

With
MsgBox( 3 * 2 ^ 2 )
you will see, that ^ has a higher priority than *.
(2 ^ 2) = 4
4 * 3 = 12
With
MsgBox( (3 * 2) ^ 2 )
you will get the right result 6 ^ 2 = 36.

With
MsgBox( 3 + 4 * 3 )
you will see, that * has a higher priority than +.
(4 * 3) = 12
3 * 12 = 36
With
MsgBox( (3 + 4) * 3 )
you will get the right result 7 * 3 = 21.

Now looking at the same logic with logical operators.

Dim bResult As Boolean
bResult = TRUE Or FALSE And TRUE
MsgBox( bResult )
bResult = TRUE Or TRUE And FALSE
MsgBox( bResult )

What do you expect?
For logical operations AND is equivalent to * and OR is equivalent to 
+.

AND should have a higher priority than OR, so I would expect in both
cases (because TRUE Or () = TRUE):
bResult = TRUE
But you will get
TRUE Or FALSE And TRUE = (TRUE Or FALSE) And TRUE = TRUE
TRUE Or TRUE And FALSE = (TRUE Or TRUE) And FALSE = FALSE

Is there any explanation that AND and OR have (and should have) the
same priority?

Regards, Mathias

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: [API] Priority Problem with AND and OR

2015-10-12 Thread Rory O'Farrell
On Mon, 12 Oct 2015 15:45:16 -0400
Andrew Pitonyak  wrote:

> Yes, I note this travesty in OOME. There is also a difference in the 
> way that it handles exponentiation. Standard rules indicate that 2^3^4 
> is evaluated as 2^(3^4) rather than (2^3)^4, wihch is what OOo does.

This problem came up recently several times on the en-Forum; we advised that it 
is best to use the brackets to define order of calculation (particularly as so 
many Calc users are mathematically inexperienced).  It would nevertheless be 
good to have the matter correct in some revision.

Rory O'Farrell 
> On 12.10.2015 15:40, Mathias Röllig wrote:
> > Hello!
> >
> > I stumbled into a priority problem with the boolean operators AND and
> > OR. I cannot find any documentation for this.
> >
> > First mathematical examples.
> >
> > With
> > MsgBox( 3 * 2 ^ 2 )
> > you will see, that ^ has a higher priority than *.
> > (2 ^ 2) = 4
> > 4 * 3 = 12
> > With
> > MsgBox( (3 * 2) ^ 2 )
> > you will get the right result 6 ^ 2 = 36.
> >
> > With
> > MsgBox( 3 + 4 * 3 )
> > you will see, that * has a higher priority than +.
> > (4 * 3) = 12
> > 3 * 12 = 36
> > With
> > MsgBox( (3 + 4) * 3 )
> > you will get the right result 7 * 3 = 21.
> >
> > Now looking at the same logic with logical operators.
> >
> > Dim bResult As Boolean
> > bResult = TRUE Or FALSE And TRUE
> > MsgBox( bResult )
> > bResult = TRUE Or TRUE And FALSE
> > MsgBox( bResult )
> >
> > What do you expect?
> > For logical operations AND is equivalent to * and OR is equivalent to 
> > +.
> > AND should have a higher priority than OR, so I would expect in both
> > cases (because TRUE Or () = TRUE):
> > bResult = TRUE
> > But you will get
> > TRUE Or FALSE And TRUE = (TRUE Or FALSE) And TRUE = TRUE
> > TRUE Or TRUE And FALSE = (TRUE Or TRUE) And FALSE = FALSE
> >
> > Is there any explanation that AND and OR have (and should have) the
> > same priority?
> >
> > Regards, Mathias
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> > For additional commands, e-mail: dev-h...@openoffice.apache.org
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
> 
> 


-- 
Rory O'Farrell 

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: [API] Priority Problem with AND and OR

2015-10-12 Thread Andrew Pitonyak


I was tempted to open a bug against this some years back, but, this is 
the type of change that I can't help but wonder if it is more dangerous 
to affect existing code, or to use rules by new users who are unaware 
that ^ does not follow expected rules, and neither does AND and OR. Same 
is true for bitwise operations.



On 12.10.2015 15:58, Rory O'Farrell wrote:

On Mon, 12 Oct 2015 15:45:16 -0400
Andrew Pitonyak  wrote:


Yes, I note this travesty in OOME. There is also a difference in the
way that it handles exponentiation. Standard rules indicate that 
2^3^4

is evaluated as 2^(3^4) rather than (2^3)^4, wihch is what OOo does.


This problem came up recently several times on the en-Forum; we
advised that it is best to use the brackets to define order of
calculation (particularly as so many Calc users are mathematically
inexperienced).  It would nevertheless be good to have the matter
correct in some revision.

Rory O'Farrell

On 12.10.2015 15:40, Mathias Röllig wrote:
> Hello!
>
> I stumbled into a priority problem with the boolean operators AND 
and

> OR. I cannot find any documentation for this.
>
> First mathematical examples.
>
> With
> MsgBox( 3 * 2 ^ 2 )
> you will see, that ^ has a higher priority than *.
> (2 ^ 2) = 4
> 4 * 3 = 12
> With
> MsgBox( (3 * 2) ^ 2 )
> you will get the right result 6 ^ 2 = 36.
>
> With
> MsgBox( 3 + 4 * 3 )
> you will see, that * has a higher priority than +.
> (4 * 3) = 12
> 3 * 12 = 36
> With
> MsgBox( (3 + 4) * 3 )
> you will get the right result 7 * 3 = 21.
>
> Now looking at the same logic with logical operators.
>
> Dim bResult As Boolean
> bResult = TRUE Or FALSE And TRUE
> MsgBox( bResult )
> bResult = TRUE Or TRUE And FALSE
> MsgBox( bResult )
>
> What do you expect?
> For logical operations AND is equivalent to * and OR is equivalent 
to

> +.
> AND should have a higher priority than OR, so I would expect in 
both

> cases (because TRUE Or () = TRUE):
> bResult = TRUE
> But you will get
> TRUE Or FALSE And TRUE = (TRUE Or FALSE) And TRUE = TRUE
> TRUE Or TRUE And FALSE = (TRUE Or TRUE) And FALSE = FALSE
>
> Is there any explanation that AND and OR have (and should have) 
the

> same priority?
>
> Regards, Mathias
>
> 
-

> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org




-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Download problem

2015-10-12 Thread Roberto Galoppini
Hi Thelma,

Where are you based? I'm not aware of any issue, but it could be a problem
with the mirror serving your downloads..

Let me know, thanks.

Roberto

2015-10-12 19:51 GMT+02:00 Thelma Osburg :

> I have used open office for years and love it.  I have been attempting to
> download to a new  Windows 8.1 computer and after navigating the unsafe
> click bait of Sourceforge not clicking anything, the download starts as
> expected.  Then it always stops at around 20 to 50 Mb and just sits there.
> What do I do?
>
>
>
>
>
>
> Sent from Windows Mail


Re: Download problem

2015-10-12 Thread Rory O'Farrell
On Mon, 12 Oct 2015 22:14:13 +0200
Roberto Galoppini  wrote:

> Hi Thelma,
> 
> Where are you based? I'm not aware of any issue, but it could be a problem
> with the mirror serving your downloads..
> 
> Let me know, thanks.
> 
> Roberto


A solution may be to use a download manager.  I haven't used one in Windows for 
a long time, so cannot suggest one.  It also may be that your download is being 
limited by your ISP - perhaps there is a daily download total permitted?



Rory O'Farrell
> 
> 2015-10-12 19:51 GMT+02:00 Thelma Osburg :
> 
> > I have used open office for years and love it.  I have been attempting to
> > download to a new  Windows 8.1 computer and after navigating the unsafe
> > click bait of Sourceforge not clicking anything, the download starts as
> > expected.  Then it always stops at around 20 to 50 Mb and just sits there.
> > What do I do?
> >
> >
> >
> >
> >
> >
> > Sent from Windows Mail


-- 
Rory O'Farrell 

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Possible Bug or issue

2015-10-12 Thread JZA
So a user working with CSV face the dificulty that it seems that AOO by
default manage dates with a 2 digit year format. This causes havok on his
data. Having a regular field with 2/20/2015 changed to 2/20/15.

The issue is that by default (might be the locale) AOO assigns a 2-digit
year format, and not even the tempalte can be change to address that.

I think shortcutting information is never a good idea, the opposite wouldnt
be a problem and wonder if this can be patched somehow by editing the
source defaults for the US locale (and others).

To reproduce:
1 . Create a date column with xx/yy/
​2.  Save it as CSV
3. Open it in Calc
4. Check 'Detect special numbers' (if you dont do this, the dates are
displayed as a string text)
5. See the format of the date change from xx/yy/ to xx/yy/xx​

-- 
Alexandro Colorado
Apache OpenOffice Contributor
9060 55AB FFD2 2F02 0E1A  3409 599C 14FC 9450 D3CF


Re: Possible Bug or issue

2015-10-12 Thread Marcus

Am 10/12/2015 11:23 PM, schrieb JZA:

So a user working with CSV face the dificulty that it seems that AOO by
default manage dates with a 2 digit year format. This causes havok on his
data. Having a regular field with 2/20/2015 changed to 2/20/15.

The issue is that by default (might be the locale) AOO assigns a 2-digit
year format, and not even the tempalte can be change to address that.

I think shortcutting information is never a good idea, the opposite wouldnt
be a problem and wonder if this can be patched somehow by editing the
source defaults for the US locale (and others).

To reproduce:
1 . Create a date column with xx/yy/
​2.  Save it as CSV
3. Open it in Calc
4. Check 'Detect special numbers' (if you dont do this, the dates are
displayed as a string text)
5. See the format of the date change from xx/yy/ to xx/yy/xx​



this is what I've done:

- created an own CSV file with the following content:

'12/10/2015'

- opened the CSV file

- right click on the column with the date (in the preview area) and 
choose a date format you want


- right click on the cell with the date value, choose "Format Cells" tab 
"Numbers" and choose a date format with a 4-digit-year


That's it.

Please remember that the date and time values are (normally) not the 
ones that are shown. Calc calculates internally with integer values. 
Just for us humans a more appropriate number format can be chosen - 
either with 2 or 4 digits as year or whatever the user prefers.


I don't see a problem or bug here.

Marcus

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: building problems with recent changes -- /sal/qa/osl module

2015-10-12 Thread Kay Schenk
[top posting -- update]

Damjan's r1708166 seems to have taken care of this, so YAY! back to
testing patches.

On 10/12/2015 09:20 AM, Kay Schenk wrote:
> 
> 
> On 10/11/2015 04:28 PM, Don Lewis wrote:
>> On 10 Oct, Damjan Jovanovic wrote:
>>> The FreeBSD buildbot and 1 Linux buildbot have also been getting this, yet
>>> 2 of us now couldn't reproduce it.
>>>
>>> Please provide:
>>> * SVN revision
>>> * full configure options
>>> * the compile log from earlier on (containing the command run that produces
>>> that error)
>>>
>>> Thank you
>>> Damjan
>>>
>>>
>>> On Fri, Oct 9, 2015 at 11:07 PM, Kay Schenk  wrote:
>>>
 Hello --

 Currently, I am having problems building due to some recent changes in
 sal/qa/osl/


 sal/qa/osl/thread/test_thread.cxx seems to be successfully compiled but on
 making qa_osl_thread, I am getting the following errors --

 /usr/bin/ld: cannot find -lsalcpprt
 collect2: ld returned 1 exit status
 dmake:  Error code 1, while making '../../../
 unxlngi6.pro/bin/qa_osl_thread'

 Any help appreciated.
>>
>>
>> The FreeBSD buildbot seems to be happy now.
>>
>> I wonder if this an out of order build problem.  In my last build I
>> see that the sal_ut_osl_pipe, sal_ut_osl_condition, and sal_ut_test
>> tests are all successfully run before the qa_osl_thread test, and all of
>> them use -lsalcpprt.  If I'm intepreting man/sal/prj/build.lst
>> correctly, the first three of those are all specifying sa_cpprt.u as a
>> dependency:
>>
>> sa sal\qa\osl\pipe nmake - all sa_qa_osl_pipe sa_util  sa_cpprt.u NULL
>> sa sal\qa\osl\condition nmake - all sa_qa_osl_condition sa_util sa_cpprt.u 
>> NULL
>> sa sal\qa\sal nmake - all sa_qa_sal sa_util  sa_cpprt.u NULL
>>
>> whereas qa_osl_thread does not:
>> sa sal\qa\osl\thread nmake - all sa_qa_osl_thread sa_util NULL
>>
>> I wonder if the failing builds are trying to run the thread test before
>> the libsalcpprt has been built?
> 
> Hi Don --
> 
> I spent some time looking into this yesterday. I think your analysis
> could be correct. I will investigate further today when I get a
> chance. I'm not sure why it's just seems to be affecting MY 32-bit
> Linux build however. :(
> 
> 

-- 

MzK

“The journey of a thousand miles begins
 with a single step.”
  --Lao Tzu



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: [API] Priority Problem with AND and OR

2015-10-12 Thread Guenter Marxen

Hi,

Am 12.10.2015 um 21:40 schrieb Mathias Röllig:

...
What do you expect?
For logical operations AND is equivalent to * and OR is equivalent to +.


no, that's not true. AND and OR have the same priority, just as * and /
(division). (* and / have a higher priority than + and -.)


AND should have a higher priority than OR, so I would expect in both


Expressions have to be evaluated from left to right with respect to
priority and parenthesis.

"and" and "or" are binary operators. Therfore your examples can be
written as "A or B" where "B = (C and D)". If you write your example as
"A or (C and D)" then it is the same and everyone sees immediatly, how
it is evaluated.

In both cases, the result is TRUE, because
"TRUE or anything" is TRUE, just as "TRUE or (anything)".

"(A or B) and C" is totally different.

On http://www.p-roocks.de/truthtable2.php you can create "tables of
truth" (Wahrheitstabellen) for logical expressions like "A or B and C"
and more complex ones.


cases (because TRUE Or () = TRUE):
bResult = TRUE
But you will get
TRUE Or FALSE And TRUE = (TRUE Or FALSE) And TRUE = TRUE
TRUE Or TRUE And FALSE = (TRUE Or TRUE) And FALSE = FALSE

Is there any explanation that AND and OR have (and should have) the same
priority?


It is as it is!

--
Grüße

Günter Marxen


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: [API] Priority Problem with AND and OR

2015-10-12 Thread Andrew Douglas Pitonyak
Guenter, although you are correct with respect to Basic as implemented 
in AOO (and you stated it very well... I enjoyed your post), I am not 
aware of any other computer language where this is true. For example:


C and C++
http://en.cppreference.com/w/c/language/operator_precedence

Java is the same
https://docs.oracle.com/javase/tutorial/java/nutsandbolts/operators.html

Even VBA gives AND higher precedence than OR
https://msdn.microsoft.com/en-us/library/fw84t893.aspx

General comments on what is expected is listed here:

https://en.wikipedia.org/wiki/Order_of_operations

It is noted that APL, Smalltalk, and Occam do not have operator 
precedence. Can't say I have used APL in years (like 25 to 30 years). I 
have not used the other two.


The real question becomes should it be changed to follow expected 
mathematical norms (breaking all existing correct code and fixing all 
broken code where people assumed it was done in the generally accepted 
way). I am glad I need not make that call.


On 10/12/2015 08:15 PM, Guenter Marxen wrote:

Hi,

Am 12.10.2015 um 21:40 schrieb Mathias Röllig:

...
What do you expect?
For logical operations AND is equivalent to * and OR is equivalent to +.


no, that's not true. AND and OR have the same priority, just as * and 
/ (division). (* and / have a higher priority than + and -.)



AND should have a higher priority than OR, so I would expect in both


Expressions have to be evaluated from left to right with respect to 
priority and parenthesis.


Only for those specific operators. And the complaint was that your 
statement is unexpectedly true.




"and" and "or" are binary operators. Therfore your examples can be 
written as "A or B" where "B = (C and D)". If you write your example as
"A or (C and D)" then it is the same and everyone sees immediatly, how 
it is evaluated.


I wrote an implementation for a proposed international standard in 
Fortran 90 many years back It was suggested that I assume that 
people would not know precedence rules so that I should use parenthesis 
for all statements and that I should avoid things like ternary 
operators since beginning programmers may not know what they were.




In both cases, the result is TRUE, because
"TRUE or anything" is TRUE, just as "TRUE or (anything)".

"(A or B) and C" is totally different.

On http://www.p-roocks.de/truthtable2.php you can create "tables of 
truth" (Wahrheitstabellen) for logical expressions like "A or B and C" 
and more complex ones.



cases (because TRUE Or () = TRUE):
bResult = TRUE
But you will get
TRUE Or FALSE And TRUE = (TRUE Or FALSE) And TRUE = TRUE
TRUE Or TRUE And FALSE = (TRUE Or TRUE) And FALSE = FALSE

Is there any explanation that AND and OR have (and should have) the same
priority?


It is as it is!


You are correct in that!

--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
Info:  http://www.pitonyak.org/oo.php


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



new volunteer

2015-10-12 Thread Hemu Hemendra
haii apache open office team,

This hemendra i'm from Andhra Pradesh, India. I completed my B.tech in
Computer Science and Engineering from JNTU ananataput. During this i did a
project on neural network learning over arbitrarily partitioned data by
privacy preserving , i did this along with my friends . In my project also
i find some bugs and rectified at final submission.
am an enthusiast in finding the bugs. Though you
people were developed and released successfully OO there are some minor
bugs in the previous versions. i want to submit some bugs related to spread
sheet in open office.
 I am interested in working with the talented QA
TEAM OF OPENOFFICE , for finding and fixing some bugs, waiting for your
company in QA.



with regards.
hemendra


Not Responding

2015-10-12 Thread Earl Meyer
 Can't delete files get message not responding. Any way to fix?ThanksEarl Meyer