Try putting the ABS() function around the return from the VAL()'s.

Fred


On Fri, Oct 5, 2012 at 12:02 PM, MB Software Solutions, LLC <
[email protected]> wrote:

> On 10/5/2012 2:54 PM, John Weller wrote:
>
>> Both return 536870912 on this machine, 8Gb RAM
>>
>
>
> And these two lines should have preventing the return number from being
> larger than that, but alas for some reason it still failed on machines
> where the memory was > 4GB.
>
>
> SYS(3050, 1, MIN(536870912, VAL(SYS(3050, 1, 0))))
> SYS(3050, 2, MIN(536870912, VAL(SYS(3050, 1, 0))))
>
>
>
> --
> Mike Babcock, MCP
> MB Software Solutions, LLC
> President, Chief Software Architect
> http://mbsoftwaresolutions.com
> http://fabmate.com
> http://twitter.com/mbabcock16
>
> ______________________________**_________________
> Post Messages to: [email protected]
> Subscription Maintenance: 
> http://leafe.com/mailman/**listinfo/profox<http://leafe.com/mailman/listinfo/profox>
> OT-free version of this list: http://leafe.com/mailman/**
> listinfo/profoxtech <http://leafe.com/mailman/listinfo/profoxtech>
> Searchable Archive: 
> http://leafe.com/archives/**search/profox<http://leafe.com/archives/search/profox>
> This message: http://leafe.com/archives/**byMID/profox/506F2EDE.70907@**
> mbsoftwaresolutions.com<http://leafe.com/archives/byMID/profox/[email protected]>
>
> ** All postings, unless explicitly stated otherwise, are the opinions of
> the author, and do not constitute legal or medical advice. This statement
> is added to the messages for those lawyers who are too stupid to see the
> obvious.
>


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/cajcbksoaab4afgzpukapxvcwdvsmnoxg4tqffm_8skqimq6...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to