sgn.bmx 127 B

1234567
  1. Rem
  2. Sgn is a mathematical operator that returns the sign of a value.
  3. End Rem
  4. Print Sgn 50 '1
  5. Print Sgn 0 '0
  6. Print Sgn -50 '-1