Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Quick Question
#1
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
Logic is the beginning of wisdom.
Reply
#2
(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.
Reply
#3
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
Logic is the beginning of wisdom.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)