On Sep 2, 2004, at 7:50 PM, Pedja wrote:

Okidoki...don't like my vectors!?
You've asked for it..here's a refined version and 2x faster then with
vectors:)

    pVal = -18267.8932

    splitList = [integer((abs(pVal)-(abs(pVal) -
integer(abs(pVal)-0.5))))* (pVal/sqrt(power(pVal,2))),(abs(pVal) -
integer(abs(pVal)-0.5))* (pVal/sqrt(power(pVal,2)))]

 put splitList

If you can make it better just with bloody Lingo let me know...

Nope. You kicked it. I still kind of like the Preg_ex approach for the simplicity, but I don't doubt the parenthetical power of your lingo-based solution.
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net


[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to