NaaLaa

Full Version: Quick Question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is there an equivalent expression for the Basic command, sgn(), for N7?

I know how the command works and I can replicate it using either "select case" or a few "if..then's" but it would be better if there was an N7 command... The "manual" does not include sgn() or sign(). In the meantime I can create a minor function to do it... lol
(06-22-2025, 07:59 AM)johnno56 Wrote: [ -> ]Is there an equivalent expression for the Basic command, sgn(), for N7?

I know how the command works and I can replicate it using either "select case" or a few "if..then's" but it would be better if there was an N7 command... The "manual" does not include sgn() or sign(). In the meantime I can create a minor function to do it... lol

No, sorry, but I've run into lots of cases when I wanted it myself, so I'll add it for the next release.
Thank you. My function works just fine. If you want to add the command to the next release, that would be cool, but just to let you know, this is the first time I have had a need for sgn() in many years... lol